JSON
Writing JSON
The JSON datatype supports writing JSON to Strings or Writers.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import static org.camunda.spin.Spin.JSON;
SpinJsonNode jsonNode = JSON("{\"customer\": \"Kermit\"}");
String json = jsonNode.toString();
import static org.camunda.spin.Spin.JSON;
SpinJsonNode jsonNode = JSON("{\"customer\": \"Kermit\"}");
StringWriter writer = jsonNode.writeToWriter(new StringWriter());