edk2/RedfishPkg/Library/JsonLib
Michael D Kinney 02e967f1e4 RedfishPkg/JsonLib: Use same defines for MSFT and GCC families
CLANGPDB and CLANGDWARF are in GCC family. When CLANGPDB or
CLANGDWARF are used from windows host, the same defines and
undefines must be applied to GCC family for CLANG builds.

This resolves CLANG 20.1.0 build errors.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-06-13 15:47:59 +00:00
..
jansson@e9ebfa7e77 edk2: jansson submodule for edk2 JSON library 2021-01-09 03:08:51 +00:00
jansson_config.h RedfishPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
jansson_private_config.h RedfishPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
JsonLib.c RedfishPkg/JsonLib: Add JSON delete object function 2024-01-16 09:13:03 +00:00
JsonLib.inf RedfishPkg/JsonLib: Use same defines for MSFT and GCC families 2025-06-13 15:47:59 +00:00
load.c RedfishPkg/RedfishCrtLib: handle floating point number in JSON 2024-01-15 08:11:22 +00:00
Readme.rst RedfishPkg/library: EDK2 port of jansson library 2021-01-09 03:08:51 +00:00

=============================================================================
                             Introduction
=============================================================================
  Jansson is a C library for encoding, decoding and manipulating JSON data.
Its main features and design principles are:

  - Simple and intuitive API and data model
  - Comprehensive documentation
  - No dependencies on other libraries
  - Full Unicode support (UTF-8)
  - Extensive test suite

  Jansson is licensed under the MIT license(refer to ReadMe.rst under edk2).
It is used in production and its API is stable. It works on numerous
platforms, including numerous Unix like systems and Windows. It's suitable
for use on any system, including desktop, server, and small embedded systems.

  In UEFI/EDKII environment, Redfish project consumes jansson to achieve JSON
operations.

* Jansson version on edk2: 2.13.1, API reference is on the below URL,
  https://jansson.readthedocs.io/en/2.13/apiref.html

* EDKII jansson library wrapper:
   - JsonLib.h:
     This is the denifitions of EDKII JSON APIs which are mapped to
     jannson funcitons accordingly.

*Known issue:
   Build fail with jansson/src/load.c, add code in load.c to conditionally
   use stdin according to HAVE_UNISTD_H macro. The PR is submitted to
   jansson open source community.
   https://github.com/akheron/jansson/pull/558