NodeValue

public final class NodeValue

The Firebase database node value.

Functions

Link copied to clipboard
public String addChild(StoredJson data)
Adds a child to the value.
public void addChild(String key, StoredJson data)
Adds a child to the value under a specified key.
Link copied to clipboard
public void addNullChild(String key)
Adds a null child to the value under a specified key.
Link copied to clipboard
public static NodeValue empty()
Creates an empty NodeValue.
Link copied to clipboard
public ByteArrayContent toByteArray()
Converts the value to the byte array suitable for usage in the HTTP request.
Link copied to clipboard
public String toString()
Link copied to clipboard
public JsonObject underlyingJson()
Link copied to clipboard
public static NodeValue withChildren(Iterable<StoredJson> jsons)
Creates a new node value with all the given JSONs as its children.