public class JsonXMLStreamConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MULTIPLE_PI_TARGET
The name of the processing instruction used to indicate collections:
<?xml-multiple bob?> |
Constructor and Description |
---|
JsonXMLStreamConstants() |
public static final String MULTIPLE_PI_TARGET
<?xml-multiple bob?>
When writing JSON, information about starting a "collection" as in
<alice><bob>charlie</bob><bob>david</bob></alice>
may be required by the writer. This PI may be used to pass the name
of the muliple element to the writer. The writer will typically close the
array automatically.
When reading JSON, a reader may report this processing instruction on array starts.
Copyright © 2005–2020 Apache Software Foundation. All rights reserved.