Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 770 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 770 Bytes

JsonOnKernel

This is a project to support JSON standard text on the Linux Kernel.

The KJSON library

KJSON (JsonOnKernel) library has an internal parser to create the JSON data structure from a JSON standard text. Or you can dump a JSON text from your data structure.

You can link the library direclty on you kernel module code, or use the prebuilt module with the makefile provvided.

JSON object supported

  • Integer
  • String
  • Annidate JSON
  • Integer array
  • String array
  • Annidate JSON array
  • Null
  • Boolean

Building

You can build the kjson library module and using the Module.symvers generated (see the example 01_create_a_JSON). Or you can put the sources and headers file directly on your project.

Example

Visit the samples subdirectory.