lucblender 0 Posted February 4, 2020 There is xml but the poor JSON is left alone out of simulton.... Would be a good adition, especially if combined to web technologie (RESTful api, websocket) to automatically process their outputs! Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 5, 2020 True - that's something that is definitely in the pipeline. I think we'll have to add a new data type for this that can naively represent a JSON object and convert it to and from string.\ What kind of blocks would you expect to have as an MVP? Share this post Link to post Share on other sites
lucblender 0 Posted February 5, 2020 I'm mostly thinking of a block that can input a string and convert it as a JSON object. Also maybe a block that can create a JSON Object from a dynamic number of input? Then when we have JSON object, having blocks that can manipulate it: retreiving data from key modifying data from key saving the JSON object into file Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 11, 2020 We started working on this. So far we have the following blocks: From String: Create a JSON object from a string To String: Dump a JSON object into a string From File: Load a JSON object from a file Find: Perform key look-up Count: Count number of occurrences of a particular key To Map: Convert to a map data structure To Array: Convert to an array data structure Now we're gonna add the necessary block(s) to modify/write/insert values into a JSON object. And if everything goes well we have a first public version of this by the end of the week ? 1 Share this post Link to post Share on other sites