Interface JsonStreamTarget
- All Superinterfaces:
AutoCloseable,Closeable,Flushable
- All Known Implementing Classes:
AutoArrayTarget,AutoPrimitiveTarget,CustomRegexIgnoreAutoPrimitiveTarget,CustomRegexMatchReplaceIgnoreAutoPrimitiveTarget,RemoveRootTarget,StreamTargetDelegate
JSON stream target.
-
Method Summary
Modifier and TypeMethodDescriptionvoidendArray()End array.voidEnd object.voidWrite name.voidStart array.voidStart objectvoidWrite value.
-
Method Details
-
name
Write name.- Parameters:
name-- Throws:
IOException
-
value
Write value.- Parameters:
value-- Throws:
IOException
-
startObject
Start object- Throws:
IOException
-
endObject
End object.- Throws:
IOException
-
startArray
Start array.- Throws:
IOException
-
endArray
End array.- Throws:
IOException
-