class CLObject : CLContainer, Iterable


Summary

Public constructors

CLObject(content: CharArray!)

Public functions

java-static CLObject!
allocate(content: CharArray!)

Allocate a CLObject around an array of chars

CLObject
(Mutable)Iterator<CLKey!>!
String!

Returns a object as a formatted JSON5 String

String!
toFormattedJSON(indent: Int, forceIndent: Int)

Returns as a formatted JSON5 String with an indentation

String!

Returns objet as a JSON5 String

Inherited functions

From androidx.constraintlayout.core.parser.CLContainer
From androidx.constraintlayout.core.parser.CLElement
Unit
addIndent(builder: StringBuilder!, indent: Int)
CLElement
String!
Boolean
equals(o: Any!)
CLElement!
String!
Long

The character index this element was ended on

Float
Int
Int

get the line Number

Long

The character index this element was started on

String!
Boolean

Whether this element has any valid content defined.

Boolean
Boolean
Boolean
Unit
Unit
setEnd(end: Long)
Unit
setLine(line: Int)
Unit
setStart(start: Long)
From java.lang.Iterable
Unit
forEach(action: Consumer<T!>!)
Spliterator<T!>!

Public constructors

CLObject

Added in 1.1.0
CLObject(content: CharArray!)

Public functions

allocate

Added in 1.1.0
java-static fun allocate(content: CharArray!): CLObject!

Allocate a CLObject around an array of chars

clone

Added in 1.1.0
fun clone(): CLObject

iterator

Added in 1.1.0
fun iterator(): (Mutable)Iterator<CLKey!>!

toFormattedJSON

Added in 1.1.0
fun toFormattedJSON(): String!

Returns a object as a formatted JSON5 String

toFormattedJSON

Added in 1.1.0
fun toFormattedJSON(indent: Int, forceIndent: Int): String!

Returns as a formatted JSON5 String with an indentation

toJSON

Added in 1.1.0
fun toJSON(): String!

Returns objet as a JSON5 String