Class JsonRepresenter.RepresentByteArray

java.lang.Object
org.yaml.snakeyaml.representer.JsonRepresenter.RepresentByteArray
All Implemented Interfaces:
Represent
Enclosing class:
JsonRepresenter

protected class JsonRepresenter.RepresentByteArray extends Object implements Represent
JSON does not have support for binary data. This method should be overridden to emit the expected string for binary data
  • Constructor Details

    • RepresentByteArray

      protected RepresentByteArray()
  • Method Details

    • representData

      public Node representData(Object data)
      Description copied from interface: Represent
      Create a Node
      Specified by:
      representData in interface Represent
      Parameters:
      data - the instance to represent
      Returns:
      Node to dump