[Opensim-dev] How to properly enable JsonStore
Mic Bowman
cmickeyb at gmail.com
Mon Oct 21 17:56:23 UTC 2013
Could you open a mantis entry & add the compile error?
--mic
On Mon, Oct 21, 2013 at 8:21 AM, phantom <phantom2024 at hotmail.com> wrote:
> Hi!
> Im doing some tests on opensim 0.7.6, running under windows 7 64 bits, with
> the OpenSim.32BitLaunch.exe. I want to use JsonStore functions on my
> scripts, like JsonGetValue, or JsonGetJson. I read how to enable json store
> in this site: http://opensimulator.org/wiki/JsonStore_Module.
> But i am only able to get working JsonCreateStore and JsonDestroyStore.
> When
> i try to use JsonGetValue or JsonGetJson i get the following compile error:
> The name 'JsonGetValue' does not exist in the current context.
> The same goes for JsonGetJson.
>
> The test script is:
>
> key storeID;
> default
> {
> touch_start(integer n)
> {
> storeID = JsonCreateStore("{ 'foo' : { 'bar' : 'one' } }");
> llOwnerSay(JsonGetValue(storeID, "foo.bar"));
> JsonDestroyStore(storeID);
> }
> }
>
> I appreciate any help. Thanks!
>
>
>
> --
> View this message in context:
> http://opensim-dev.2196679.n2.nabble.com/How-to-properly-enable-JsonStore-tp7578850.html
> Sent from the opensim-dev mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20131021/e84fc162/attachment-0001.html>
More information about the Opensim-dev
mailing list