Giter Site home page Giter Site logo

berkesa / datatree Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 1.0 1.56 MB

Extensible Java Library for reading, manipulating and writing hierarchical data structures from/to various formats.

Home Page: https://berkesa.github.io/datatree/

License: Apache License 2.0

Java 99.16% JavaScript 0.80% HTML 0.02% Stylus 0.02%
json xml yaml toml csv tsv cbor smile ion bson

datatree's Introduction

Build Status Codacy Badge codecov GitHub license Javadocs

DataTree API

Extensible Java Library for reading, manipulating and writing hierarchical data structures from/to various formats. DataTree is NOT an another JSON parser. It's a top-level API layer that uses existing JSON implementations. Even though the JSON format is the default, DataTree supports other formats, such as XML, YAML, TOML, etc.

architecture

Documentation

Documentation

License

DataTree is licensed under the Apache License V2, you can use it in your commercial products for free.

datatree's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

s00085

datatree's Issues

Tree doe not support complex type inside an array

Hi,

Thanks for your the datatree framework I've found it very useful.
I got a problem when having path where containing an array of a complex type or a collection/array of a complex type.
the showcase of the problem (collection of a collection of a complex type)
tree.put("kycScoreResponse._return.resultDatas[0].actions[0].type", "value");
returns an NPE.
Also, If use a collection of a complex type like below I got an NPE
tree.put("kycScoreResponse._return.resultDatas[0].actions.type", "value");
If I have a collection/array of simple type it works fine like in the example blow
tree.put("kycScoreResponse._return.resultDatas[0].actions", "value");

Is there any workaround?

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.