Class JohnzonNodeFactory

java.lang.Object
net.javacrumbs.jsonunit.core.internal.JohnzonNodeFactory

public class JohnzonNodeFactory
extends Object
  • Constructor Details

    • JohnzonNodeFactory

      public JohnzonNodeFactory()
  • Method Details

    • doConvertValue

      protected Node doConvertValue​(Object source)
    • nullNode

      protected Node nullNode()
    • readValue

      protected Node readValue​(Reader reader, String label, boolean lenient)
    • isPreferredFor

      public boolean isPreferredFor​(Object source)
    • convertToNode

      public Node convertToNode​(Object source, String label, boolean lenient)
    • valueToNode

      public Node valueToNode​(Object source)
    • newParseException

      @NotNull protected @NotNull IllegalArgumentException newParseException​(String label, Reader value, Exception e)