| Interface | Description |
|---|---|
| CharSequenceTranslatorFactory |
CharSequenceTranslatorFactory is designed to enhance the
StringEscapePolicy.Any method which accepts a StringEscapePolicy (eg:
JsonFlattener#withStringEscapePolicy) now accepts
CharSequenceTranslatorFactory as well.Furthermore, anyone can provide their own StringEscapePolicy by
implementing a CharSequenceTranslatorFactory. |
| KeyTransformer |
| Class | Description |
|---|---|
| IndexedPeekIterator<E> |
IndexedPeekIterator is an Iterator which provides user a
IndexedPeekIterator.peek() method to peek an element advanced, a IndexedPeekIterator.getIndex()
method to get the index of last returned element and a IndexedPeekIterator.getCurrent()
method to get the last returned element itself. |
| JsonFlattener |
JsonFlattener flattens any JSON nested objects or arrays into a
flattened JSON string or a Map<Stirng, Object>. |
| JsonifyArrayList<E> |
JsonifyArrayList is simply a ArrayList but with an override jsonify
toString method. |
| JsonifyLinkedHashMap<K,V> |
JsonifyLinkedHashMap is simple a LinkedHashMap but with an override
jsonify toString method. |
| Enum | Description |
|---|---|
| FlattenMode |
FlattenMode lists all acceptable modes of the JsonFlattener. |
| PrintMode |
PrintMode lists all acceptable JSON print mode of the
JsonFlattener. |
| StringEscapePolicy |
StringEscapePolicy lists all acceptable JSON string escape policy of
the JsonFlattener. |
Copyright © 2018. All rights reserved.