public static Builder.Object existingSlimeObjectCursor(Cursor cursor) {
            if (cursor.type() != Type.OBJECT) throw new InvalidJsonException("Input is not an object");
            return new Builder.Object(cursor);
        }
Provides a fluent API for building a {@link Slime} instance.
vespajlib/src/main/java/ai/vespa/json/Json.java