Giter Club home page Giter Club logo

javalib_json_parser's Introduction

JavaLib_JSON_Parser

This is a library to support parsing JSON files.
The main concern is the parsing of the JSON structure after the parsing of the JSON code. The main use case of this library is to parse JSON files that are not written by the developer. So developer have to expect, that the structure of the JSON data can change over time. He can use "tolerant" methods for parsing or exception throwing methods, that detect every unexpected change in the structure of the JSON data.
Developer can add additional data or functionalities to each node (-> JSON_Data) in the parsed JSON structure. The ability to mark "processed nodes" is already provided.

JSON_Parser is the parser for the JSON code, that build the JSON structure.

JSON_Data contains the classes for the nodes that make up the JSON structure build by the parser.

JSON_Helper contains 3 classes to help to parse unknown or unfixed JSON structures.

  • KnownJsonValues and KnownJsonValuesFactory notifies, when a JSON object contains new fields or fields with unexpected types.
  • OptionalValues can scan a whole unknown JSON structure and reports found field names and value types. It is especially useful when a repeated use of nearly same structures indicates an implementation of a parse method for these structures.

Usage / Development

The current state of this library is compatible with JAVA 17. But most of its code should be compatible with JAVA 8.
This is an Eclipse project. .classpath and .project files are contained in the repository.
JavaLib_JSON_Parser don't depends on other libraries.

javalib_json_parser's People

Contributors

hendrik2319 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.