public class JsonAPITableFormat extends Object implements ITableFormat
Class which encapsulates behavior for the JSON API table format. Note that this class is immutable; to change the containing JSON, a new class needs to be instantiated.
| Constructor and Description |
|---|
JsonAPITableFormat(String json)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Collection<String>> |
getPairs()
Extracts the keys and their respective values from the data.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeys, getValuespublic JsonAPITableFormat(String json)
Default constructor.
json - the JSON to formatpublic Map<String,Collection<String>> getPairs()
ITableFormatExtracts the keys and their respective values from the data.
getPairs in interface ITableFormatMap of all keys and their respective valuesCopyright © 2019. All rights reserved.