* Added method to serialize OSD to a JsonWriter
* Added more OSD.As*() functions to match the OSD.From*() functions * Added more Utils.BytesTo*() functions git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2376 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -105,6 +105,11 @@ namespace OpenMetaverse.StructuredData
|
||||
return SerializeJson(osd).ToJson();
|
||||
}
|
||||
|
||||
public static void SerializeJsonString(OSD osd, ref JsonWriter writer)
|
||||
{
|
||||
SerializeJson(osd).ToJson(writer);
|
||||
}
|
||||
|
||||
public static JsonData SerializeJson(OSD osd)
|
||||
{
|
||||
switch (osd.Type)
|
||||
|
||||
Reference in New Issue
Block a user