Class RDBJSONSupport

java.lang.Object
org.apache.jackrabbit.oak.plugins.document.rdb.RDBJSONSupport

public class RDBJSONSupport extends Object
Utilities that provide JSON support on top of the existing JsopTokenizer support in oak-commons.

The result of parsing uses the simplest possible Java representation of the JSON values (see Section 3 of RFC 7159), thus

The boolean parameter of the constructor ({link RDBJSONSupport(boolean)) allows changing the default for the maps to use sorted maps using Revisions as keys, as used internally be the DocumentNodeStore.

  • Constructor Details

    • RDBJSONSupport

      public RDBJSONSupport(boolean useRevisionMaps)
      Parameters:
      useRevisionMaps - whether to use revision maps instead of regular Maps.
  • Method Details