From 06bc4580a6e828b7fabdf8010dc34005503e182b Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Mon, 24 May 2010 18:23:39 +0000 Subject: [PATCH] * Changed OSDArray.ToString() and OSDMap.ToString() to use JSON formatting instead of the deprecated LLSD notation format git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3353 52acb1d6-8a22-11de-b505-999d5b087335 --- OpenMetaverse.StructuredData/StructuredData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenMetaverse.StructuredData/StructuredData.cs b/OpenMetaverse.StructuredData/StructuredData.cs index 01851fa5..b29b93b0 100644 --- a/OpenMetaverse.StructuredData/StructuredData.cs +++ b/OpenMetaverse.StructuredData/StructuredData.cs @@ -803,7 +803,7 @@ namespace OpenMetaverse.StructuredData public override string ToString() { - return OSDParser.SerializeLLSDNotationFormatted(this); + return OSDParser.SerializeJsonString(this); } #region IDictionary Implementation @@ -1035,7 +1035,7 @@ namespace OpenMetaverse.StructuredData public override string ToString() { - return OSDParser.SerializeLLSDNotationFormatted(this); + return OSDParser.SerializeJsonString(this); } #region IList Implementation