public class TestObjects extends BaseJsonLoaderTest
BaseJsonLoaderTest.JsonLoaderFixtureDrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestObjects() |
| Modifier and Type | Method and Description |
|---|---|
void |
testMap() |
void |
testMapArray() |
void |
testMapArrayWithSchema()
With a schema we don't have to infer the type of the map or its members.
|
void |
testMapArrayWithSchemaInitialNullMember()
The structure parser feels its way along looking ahead at tokens
to guess types.
|
void |
testMapAsJson() |
void |
testMapWithSchema()
Without a schema, leading nulls or empty maps can be ambiguous.
|
void |
testObjectToArray() |
void |
testObjectToScalar() |
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic void testMap()
public void testMapWithSchema()
public void testMapAsJson()
public void testMapArray()
public void testMapArrayWithSchema()
public void testMapArrayWithSchemaInitialNullMember()
public void testObjectToScalar()
public void testObjectToArray()
Copyright © 2021 The Apache Software Foundation. All rights reserved.