Class SerializationFeature<V>

    • Field Detail

      • SERIALIZE_ROOT

        @NonNull
        public static final SerializationFeature<Boolean> SERIALIZE_ROOT
        If enabled, generate document level constructs in the underlying data format. In XML this would include XML declarations. In JSON or YAML, this would include an outer object and field with the name associated with the root node.