Package | Description |
---|---|
com.hp.util |
Generic utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
JSONUtils.Array
Abstraction of a JSON array.
|
static class |
JSONUtils.Item
Abstraction of a JSON object.
|
Modifier and Type | Method and Description |
---|---|
JSONUtils.Primitive |
JSONUtils.Array.get(int index)
Get the entity at the specified index of this array.
|
JSONUtils.Primitive |
JSONUtils.Item.get(String key)
Get the entity bound to the specified key in this item.
|
JSONUtils.Primitive |
JSONUtils.Primitive.inline()
Mark the specified item to be formatted in-line.
|
Modifier and Type | Method and Description |
---|---|
JSONUtils.Item |
JSONUtils.Item.add(Enum<?> name,
JSONUtils.Primitive item)
Add a named item property to the object.
|
JSONUtils.Array |
JSONUtils.Array.add(JSONUtils.Primitive item)
Add an item to the array.
|
JSONUtils.Array |
JSONUtils.Array.add(JSONUtils.Primitive[] items)
Add an array of items to the array.
|
JSONUtils.Item |
JSONUtils.Item.add(String name,
JSONUtils.Primitive item)
Add a named item property to the object.
|
Copyright © 2016. All Rights Reserved.