Specials
Top sellers

RapidJSON parser

RapidJSON parser
Product Code: tris_json
Availability: In Stock
Built for: JSON enthusiasts and XML haters
Product Version: 1.1.0
Online Demo: https://github.com/broozar/ShiVaRapidJSON
Req. ShiVa Version: ShiVa 1.9.2 Engines
Plugin Platform Compatibility: Windows Legacy
Price: FREE $0
Seller information: broozar
Country: Germany
Company: trisymphony.com
Qty:     - OR -   Wish List
Compare

A JSON parser for ShiVa using RapidJSON. This open-source C++ plugin can load in a JSON string, parse it, and then deliver the parsed values to your ShiVa game code.

The scope of this plugin only covers loading, parsing and reading, but not writing of JSON data. Therefor the API is very small and easy to use. Usually, there are only 3 steps:

1. call rjson.init(some_number) to initialize
2. call rjson.loadstring (sID, sJSON) to load a string into the plugin to parse it
3. call .getValue, the .has* functions, or .getArraySize to access values inside the JSON data

The plugin comes with its own CSV syntax to get around ShiVa's 13 parameter restriction for C++ communication. Please see the README.md for further instructions.

The demo application includes 3 demos, which showcase the basics of primitive, object and array return, handling edge and error cases, as well as show complex nesting.

Can be compiled for any platform with C++11 support, but this pack only contains precompiled DLLs for Windows 8.1 and up.

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



ShiVa Store © 2017 - Powered By OpenCart