Skip to content

emalele1688/JsonOnKernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

JSON text library for the Linux Kernel

Resources

License

Stars

Watchers

Forks

Packages

No packages published