public final class SlpcObject extends Object
The contract intentionally distinguishes an absent member from a member
whose value is null. A generic immutable tree keeps that distinction
and also lets the Java model follow the versioned JSON Schema without a
second, drifting set of 150+ mutable DTO classes.
| Modifier and Type | Class and Description |
|---|---|
static class |
SlpcObject.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
array(String name) |
Map<String,Object> |
asMap() |
static SlpcObject.Builder |
builder() |
boolean |
contains(String name) |
boolean |
equals(Object other) |
Object |
get(String name) |
int |
hashCode() |
BigInteger |
integer(String name) |
Set<String> |
names() |
SlpcObject |
object(String name) |
String |
string(String name) |
SlpcObject.Builder |
toBuilder() |
public static SlpcObject.Builder builder()
public BigInteger integer(String name)
public SlpcObject object(String name)
public SlpcObject.Builder toBuilder()