About Store Forum Documentation Contact



Post Reply 
Json for C++
Author Message
Houge Offline
Member

Post: #1
Json for C++
Hi!

Does EE need json parser in it?
There is a cool class here which helps a lot smile
03-26-2015 01:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Json for C++
Code:
Bool loadJSON(C Str    &name, const_mem_addr Secure *secure=NULL); // load from file in JSON format, false on fail, 'secure' must point to object in constant memory address (only pointer is stored through which the object can be later accessed)
   Bool loadJSON(FileText &f                                       ); // load from file in JSON format, false on fail, 'f' file must be already opened for reading
in TextData, or is it missing something?
03-26-2015 03:08 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #3
RE: Json for C++
(03-26-2015 03:08 PM)Zervox Wrote:  in TextData, or is it missing something?

As i understand current functions allow to load json to xml and then operate with xml. The class in the first message allows json operations.
03-26-2015 03:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Json for C++
Yup, the TextData.loadJSON is the way to go smile
03-26-2015 11:02 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #5
RE: Json for C++
Ok then i'm just sharing this small and interesting class smile
03-27-2015 05:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #6
RE: Json for C++
That looks like a really nice implementation
03-27-2015 06:45 PM
Find all posts by this user Quote this message in a reply
Post Reply