Class JsonDetailMarker
java.lang.Object
com.northconcepts.datapipeline.json.builder.JsonNode
com.northconcepts.datapipeline.json.builder.JsonFragment
com.northconcepts.datapipeline.json.builder.JsonDetailMarker
Marks where records go in a
JsonTemplate; the nodes added to it are written once for each record.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarray()Adds an anonymous array element and returns it; only arrays (and the template root) accept one.Adds an array-valued field and returns the new array; only valid on object nodes.Adds a scalar field whose name and value are computed by the given expressions; only valid on object nodes.booleanisMarker()Returns true for theJsonDetailMarkerthat marks where each record is written.object()Adds an anonymous object element and returns it; only arrays (and the template root) accept one.Adds an object-valued field and returns the new object; only valid on object nodes.Adds a scalar element whose value is computed by the given expression; only valid on array nodes.Methods inherited from class com.northconcepts.datapipeline.json.builder.JsonFragment
detail, exception, getParentNode, getType, when, writeEndImpl, writeStartImplMethods inherited from class com.northconcepts.datapipeline.json.builder.JsonNode
add, assertType, getNodes, hasNodes, writeEnd, writeStart
-
Constructor Details
-
JsonDetailMarker
-
-
Method Details
-
object
Description copied from class:JsonNodeAdds an object-valued field and returns the new object; only valid on object nodes. -
array
Description copied from class:JsonNodeAdds an array-valued field and returns the new array; only valid on object nodes. -
field
Description copied from class:JsonNodeAdds a scalar field whose name and value are computed by the given expressions; only valid on object nodes. -
object
Description copied from class:JsonNodeAdds an anonymous object element and returns it; only arrays (and the template root) accept one. -
array
Description copied from class:JsonNodeAdds an anonymous array element and returns it; only arrays (and the template root) accept one. -
value
Description copied from class:JsonNodeAdds a scalar element whose value is computed by the given expression; only valid on array nodes. -
isMarker
public boolean isMarker()Description copied from class:JsonNodeReturns true for theJsonDetailMarkerthat marks where each record is written.
-