| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.core.internal | |
| net.javacrumbs.jsonunit.core.internal.matchers |
| Modifier and Type | Field and Description |
|---|---|
static Node |
Node.MISSING_NODE |
| Modifier and Type | Method and Description |
|---|---|
static Node |
JsonUtils.convertToJson(Object source,
String label)
Converts object to JSON.
|
static Node |
JsonUtils.convertToJson(Object source,
String label,
boolean lenient)
Converts object to JSON.
|
protected Node |
JohnzonNodeFactory.doConvertValue(Object source) |
Node |
Node.element(int index) |
Node |
Node.get(String key) |
static Node |
JsonUtils.getNode(Object root,
Path path)
Returns node with given path.
|
static Node |
JsonUtils.getNode(Object root,
String path)
Returns node with given path.
|
Node |
Node.KeyValue.getValue() |
Node |
Node.JsonMap.getWrappedNode() |
Node |
Node.JsonList.getWrappedNode() |
protected Node |
JohnzonNodeFactory.nullNode() |
protected Node |
JohnzonNodeFactory.readValue(Reader reader,
String label,
boolean lenient) |
static Node |
JsonUtils.valueToNode(Object source)
Converts value to Json node.
|
static Node |
JsonUtils.wrapDeserializedObject(Object source)
Wraps deserialized object - supports null, String, numbers, maps, lists, ...
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Node> |
Node.arrayElements() |
| Modifier and Type | Method and Description |
|---|---|
Object |
Node.ValueExtractor.getValue(Node node) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Node |
InternalMatcher.assertIntegralNumber() |
@NotNull Node |
InternalMatcher.assertType(Node.NodeType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
InternalMatcher.failOnType(@NotNull Node node,
@NotNull String expectedType) |
Copyright © 2020. All rights reserved.