CLObject
public class CLObject extends CLContainer implements Iterable
| java.lang.Object | |||
| ↳ | androidx.constraintlayout.core.parser.CLElement | ||
| ↳ | androidx.constraintlayout.core.parser.CLContainer | ||
| ↳ | androidx.constraintlayout.core.parser.CLObject |
Summary
Public constructors |
|---|
CLObject(char[] content) |
Public methods |
|
|---|---|
static CLObject |
allocate(char[] content)Allocate a CLObject around an array of chars |
@NonNull CLObject |
clone() |
Iterator<CLKey> |
iterator() |
String |
Returns a object as a formatted JSON5 String |
String |
toFormattedJSON(int indent, int forceIndent)Returns as a formatted JSON5 String with an indentation |
String |
toJSON()Returns objet as a JSON5 String |
Inherited fields |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
Inherited methods |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public methods
allocate
Added in 1.1.1
public static CLObject allocate(char[] content)
Allocate a CLObject around an array of chars
toFormattedJSON
Added in 1.1.1
public String toFormattedJSON()
Returns a object as a formatted JSON5 String
toFormattedJSON
Added in 1.1.1
public String toFormattedJSON(int indent, int forceIndent)
Returns as a formatted JSON5 String with an indentation