- Type Parameters:
Ex
- An arbitrary exception type that may be thrown
- All Superinterfaces:
JavaScriptWritable<Ex>
,MediaWritable<Ex>
,WhitespaceWritable<Ex>
- All Known Subinterfaces:
LdJsonWritable<Ex>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@ThreadSafe
public interface JsonWritable<Ex extends Throwable>
extends JavaScriptWritable<Ex>
- Author:
- AO Industries,Inc.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
writeTo
(JavaScriptWriter writer) void
writeTo
(JsonWriter writer) Methods inherited from interface com.aoapps.encoding.JavaScriptWritable
writeTo
Methods inherited from interface com.aoapps.encoding.WhitespaceWritable
writeTo
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceJavaScriptWritable<Ex extends Throwable>
- Throws:
IOException
Ex
-
writeTo
- Throws:
IOException
Ex
-