LIBOMV-798: OSDParser.DeserializeJson() throws an exception on null values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3273 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Latif Khalifa
2010-03-13 11:17:48 +00:00
parent d54194a56b
commit 613e6a25e8

View File

@@ -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: