All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.logz.sender.com.google.gson.Strictness Maven / Gradle / Ivy

The newest version!
package com.google.gson;

import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;

/**
 * Modes that indicate how strictly a JSON {@linkplain JsonReader reader} or {@linkplain JsonWriter
 * writer} follows the syntax laid out in the RFC
 * 8259 JSON specification.
 *
 * 

You can look at {@link JsonReader#setStrictness(Strictness)} to see how the strictness affects * the {@link JsonReader} and you can look at {@link JsonWriter#setStrictness(Strictness)} to see * how the strictness affects the {@link JsonWriter}. * * @see JsonReader#setStrictness(Strictness) * @see JsonWriter#setStrictness(Strictness) * @since 2.11.0 */ public enum Strictness { /** Allow large deviations from the JSON specification. */ LENIENT, /** Allow certain small deviations from the JSON specification for legacy reasons. */ LEGACY_STRICT, /** Strict compliance with the JSON specification. */ STRICT }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy