JSON functionality in Lycia

 

 

JSON (JavaScript Object Notation) is a lightweight format for data interchange. It is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of language.

 

Lycia incorporates JSON functionality in order to provide 4gl developers with extra possibilities for data interchange and help them to create modern and user-friendly applications.

 

This chapter describes only the JSON functionality embedded in Lycia and executable from the Querix 4gl code.

 

For greater details on JSON itself, refer here.

 

 

util.JSON class:

util.JSON.parse()

util.JSON.format()

util.JSON.stringify()

util.JSON.proposeType()

 

util.JSONObject class:

util.JSONObject.create()

util.JSONObject.fromFGL()

util.JSONObject.parse()

util.JSONObject.get()

util.JSONObject.getLength()

util.JSONObject.getType()

util.JSONObject.has()

util.JSONObject.name()

util.JSONObject.put()

util.JSONObject.remove()

util.JSONObject.toFGL()

util.JSONObject.toString()

 

util.JSONArray class:

util.JSONArray.create()

util.JSONArray.fromFGL()

util.JSONArray.parse()

util.JSONArray.get()

util.JSONArray.getLength()

util.JSONArray.getType()

util.JSONArray.put()

util.JSONArray.remove()

util.JSONArray.toFGL()

util.JSONArray.toString()