Json xComp

Free of charge

MCWJson

Attribution: MCWJson is a fork of an xComp originally created by David McKeone (@dmckeone). The architecture, structure, and foundational design of this component derive directly from his work. The original repository is no longer available, but his contribution is the basis upon which this project was built.

MCWJson is an Omnis Studio external component (xComp) that wraps the jsoncpp library, providing full JSON parsing, manipulation, and serialisation capabilities directly within Omnis Studio.

Features

  • Parse JSON strings into structured Value objects
  • Inspect and navigate JSON trees (objects, arrays, primitives)
  • Read and write individual values by key or index
  • Serialise Value objects back to formatted JSON strings
  • Convert between Omnis List, Row, and JSON structures
  • Type-checking methods for all JSON value types (null, bool, int, real, string, array, object, date/time)
  • Error reporting on parse and write operations
  • Support for ISO 8601 date, time, and datetime values

Requirements

  • Omnis Studio
  • Visual Studio 2022
  • jsoncpp

Acknowledgements

  • jsoncpp — JSON parser/writer for C++
  • Omnis Studio — RAD platform
  • David McKeone — Original xComp author; MCWJson is a direct fork of his work (original repository no longer available)
Module Version 
Required Product Omnis Studio 11.1 or later, Visual Studio 2022, jsoncpp (https://github.com/open-source-parsers/jsoncpp)
Last Updated
Component Type
Platform Support  Windows x64
Language English
License Terms  The Unlicence
Documentation 
Created By  David McKoene (Groundworks) (https://github.com/dmckeone), José Lacerda (Prozis.com)