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 C programmers.

Lycia incorporates JSON functionality in order to give 4gl developers new tools 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 4gl code.

For greater details on JSON, refer to the original JSON documentation.

 

JSON classes implemented for Lycia

util.JSON class

util.JSONObject class

util.JSONArray class

JSON methods available for Lycia users

util.JSON.parse()

util.JSON.format()

util.JSON.stringify()

util.JSON.proposeType()

 

util.JSONObject.create()

util.JSONObject.fromFGL()

util.JSONObject.parse()

util.JSONObject.get()

util.JSONObject.getLength()

util.JSONObject.getType()

util.JSONObject.has()

util.JSONObject.getKey()

util.JSONObject.getKeys()

util.JSONObject.insert()

util.JSONObject.remove()

util.JSONObject.delete()

util.JSONObject.toFGL()

util.JSONObject.toString()

 

util.JSONArray.create()

util.JSONArray.clear()

util.JSONArray.delete()

util.JSONArray.fromFGL()

util.JSONArray.get()

util.JSONArray.getLength()

util.JSONArray.getSize()

util.JSONArray.getType()

util.JSONArray.insert()

util.JSONArray.parse()

util.JSONArray.put()

util.JSONArray.remove()

util.JSONArray.toFGL()

util.JSONArray.toString()

 

Contact Us

Privacy Policy

Copyright © 2025 Querix, (UK) Ltd.