/** * Closes the current JSON object */ public DslPart closeObject() { if (parent != null) { parent.putObject(this); } else { getMatchers().applyMatcherRootPrefix("$"); getGenerators().applyRootPrefix("$"); } closed = true; return parent; }
/** * Closes the current JSON object */ public DslPart closeObject() { if (parent != null) { parent.putObject(this); } else { getMatchers().applyMatcherRootPrefix("$"); getGenerators().applyRootPrefix("$"); } closed = true; return parent; }