java.lang.Object
org.infinispan.commons.dataconversion.internal.Json.help
Enclosing class:
Json

public static class Json.help extends Object

Exposes some internal methods that are useful for Json.Factory implementations or other extension/layers of the library.

Author:
Borislav Iordanov
  • Constructor Details

    • help

      public help()
  • Method Details

    • escape

      public static String escape(String string)

      Perform JSON escaping so that ", <, >, etc. characters are properly encoded in the JSON string representation before returning to the client code. This is useful when serializing property names or string values.

    • resolvePointer

      public static Json resolvePointer(String pointer, Json element)

      Given a JSON Pointer, as per RFC 6901, return the nested JSON value within the element parameter.