Package com.cedarsoftware.util.io
Class Writers
java.lang.Object
com.cedarsoftware.util.io.Writers
All custom writers for json-io subclass this class. Special writers are not needed for handling
user-defined classes. However, special writers are built/supplied by json-io for many of the
primitive types and other JDK classes simply to allow for a more concise form.
- Author:
- John DeRegnaucourt ([email protected])
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.*
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Used as a template to write out types that will have a primitive form.static class
Used as a template to write out primitive String types.static class
Used as a template to write out primitive value types such as int, boolean, etc.static class
Writers.TemporalWriter<T extends TemporalAccessor>
static class
static class
static class
static class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
writeBasicString
(Writer output, String string) protected static void
writeJsonUtf8String
(String s, Writer output)
-
Method Details
-
writeJsonUtf8String
- Throws:
IOException
-
writeBasicString
- Throws:
IOException
-