diff options
author | Sean Dague | 2008-09-12 15:04:13 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-12 15:04:13 +0000 |
commit | 1b333a0f58d345d37222eb1af821e6ebd457378c (patch) | |
tree | a3f6af065f3b92a2282d7ddb320349237c7dec2a /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |
parent | Mantis#2165. Thank you kindly, CMickeyB for a patch that: (diff) | |
download | opensim-SC_OLD-1b333a0f58d345d37222eb1af821e6ebd457378c.zip opensim-SC_OLD-1b333a0f58d345d37222eb1af821e6ebd457378c.tar.gz opensim-SC_OLD-1b333a0f58d345d37222eb1af821e6ebd457378c.tar.bz2 opensim-SC_OLD-1b333a0f58d345d37222eb1af821e6ebd457378c.tar.xz |
From: Rob Smart <SMARTROB@uk.ibm.com>
Implement an osParseJSON method useful for handling simple JSON returns
from http requests. This will only work in C# at this point.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 4fba1fd..1b7cc48 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -2035,6 +2035,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2035 | } | 2035 | } |
2036 | 2036 | ||
2037 | 2037 | ||
2038 | public System.Collections.Hashtable osParseJSON(string JSON) | ||
2039 | { | ||
2040 | return m_LSL_Functions.osParseJSON(JSON); | ||
2041 | } | ||
2042 | |||
2038 | //for testing purposes only | 2043 | //for testing purposes only |
2039 | public void osSetParcelMediaTime(double time) | 2044 | public void osSetParcelMediaTime(double time) |
2040 | { | 2045 | { |