Class JsonPathParser


  • public class JsonPathParser
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String parsePathToJsonPath​(java.lang.String path)
      Method parses JsonPointer or JsonPath path to JsonPath syntax
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parsePathToJsonPath

        public static java.lang.String parsePathToJsonPath​(java.lang.String path)
                                                    throws JsonPatchException
        Method parses JsonPointer or JsonPath path to JsonPath syntax
        Parameters:
        path - String containing JsonPath or JsonPointer expression
        Returns:
        String containing JsonPath expression
        Throws:
        JsonPatchException - throws when invalid JsonPointer expression provided