Skip to content

A json utility to help developer to extract object from json(Map) by extending apche MapUtils and ListUtils.

License

Notifications You must be signed in to change notification settings

kliangh/json-utils

Repository files navigation

json-utils

Build Status codecov
A json utility to help developer to extract object from json(Map) by extending apche MapUtils and ListUtils.

Input data

     {
         "firstLayer":{
             "string":"example string",
             "nestedMap":{
                 "nullObject":null,
                 "list":[
                     "item1",
                     "item2"]
             }
         }
    }

If you are looking for item2 of list, you can declare a list of path as below.

List<Object> retrievingItem = ImmutableList.of("firstLayer", "nestedMap", "list", 2);

About

A json utility to help developer to extract object from json(Map) by extending apche MapUtils and ListUtils.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages