EJSON library

What is EJSON:

EJSON, or Ewol JSON interface is a simple, small, efficient, C++ JSON parser/generator that can be easily integrating into other programs.

What it does:

EJSON parses an JSON document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.

JSON stands for "JavaScript Object Notation". It is a general purpose human and machine readable machine language to describe arbitrary data (base internal system of the JavaScript object). All those random file formats created to store application data can all be replaced with JSON. One parser for everything.

http://wikipedia.org/wiki/JSON

There are different ways to access and interact with JSON data. EJSON uses a Document Object Model (DOM), meaning the JSON data is parsed into a C++ objects that can be browsed and manipulated, and then written to disk. You can also construct an JSON document from scratch with C++ objects and write this to disk.

EJSON is designed to be easy and fast to learn.

EJSON is dependent of the STL (compatible with MacOs stl (CXX))

What it doesn't do:

I do not know...

Internal extention:

I Add some costum feature of JSON:

  • Support inline comment starting with **#**
  • Support Unquotet name if the name is not separate with space and not start with number
  • Support simple quote **'** instead of double quote **"**
  • Support removing of the **{}** arround the file (by default present)

What languages are supported?

EJSON is written in C++.

Are there any licensing restrictions?

EJSON is FREE software and all sub-library are FREE and staticly linkable !!!

License (APACHE-2.0)

Copyright EJSON Edouard DUPIN

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Other pages