diff --git a/OpenMetaverse.StructuredData/JSON/OSDJson.cs b/OpenMetaverse.StructuredData/JSON/OSDJson.cs index 254c34ed..8761c92a 100644 --- a/OpenMetaverse.StructuredData/JSON/OSDJson.cs +++ b/OpenMetaverse.StructuredData/JSON/OSDJson.cs @@ -25,6 +25,8 @@ namespace OpenMetaverse.StructuredData public static OSD DeserializeJson(JsonData json) { + if (json == null) return new OSD(); + switch (json.GetJsonType()) { case JsonType.Boolean: