Interface IJsonList<T>

  • All Superinterfaces:
    Collection<T>, manifold.ext.rt.api.IListBacked<T>, Iterable<T>, List<T>
    All Known Implementing Classes:
    JsonList

    public interface IJsonList<T>
    extends manifold.ext.rt.api.IListBacked<T>
    A base interface for all JSON bindings types with methods to transform a JSON value List to/from JSON, YAML, CSV, and XML and to conveniently use the List for Web services / APIs.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  IJsonList.Factory
      For Internal Use Only
    • Method Summary

      All Methods Static Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default IJsonList<T> copy()
      Provides a deep copy of this list
      static <T> Loader<IJsonList<T>> load()
      Loader is a fluent API with methods for loading content from String, URL, file, etc.
      default Writer write()
      Writer is a fluent API to write this JSON object in various formats including JSON, YAML, CSV, and XML
      • Methods inherited from interface manifold.ext.rt.api.IListBacked

        add, add, addAll, addAll, clear, coerce, coerceListToBindingValues, coerceListToComplexValues, contains, containsAll, forEach, get, getFinalComponentType, getList, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, parallelStream, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, stream, subList, toArray, toArray, toBindings, toBindingsValue
    • Method Detail

      • load

        static <T> Loader<IJsonList<T>> load()
        Loader is a fluent API with methods for loading content from String, URL, file, etc.
      • write

        default Writer write()
        Writer is a fluent API to write this JSON object in various formats including JSON, YAML, CSV, and XML
      • copy

        default IJsonList<T> copy()
        Provides a deep copy of this list