Mantis 5816: osParseJSON Decoding Problems

osParseJSON uses hand-crafted decoding that has two issues
* does not seem to handle top-level JSON lists
* does not seem to handle unicode text
thanks otakup0pe!
This commit is contained in:
nebadon
2011-12-11 23:25:12 -07:00
parent 3a91085ac2
commit 8ae824ff09
3 changed files with 76 additions and 195 deletions

View File

@@ -396,6 +396,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
{
return m_OSSL_Functions.osParseJSON(JSON);
}
public Object osParseJSONNew(string JSON)
{
return m_OSSL_Functions.osParseJSONNew(JSON);
}
public void osMessageObject(key objectUUID,string message)
{