Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 808 Bytes

File metadata and controls

23 lines (21 loc) · 808 Bytes

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);