class JsonReferenceReplacer {

    public ReferenceReplacementResult replaceReferences(JsonNode rootNode, Map<String, JsonNode> referenceMap)
    {
        ReferenceReplacementResult referenceReplacementResult = new ReferenceReplacementResult();

        traverseNodeForTokenReplacement(rootNode, referenceMap, referenceReplacementResult);
        referenceReplacementResult.setResult(rootNode.toString());
        return referenceReplacementResult;
    }

    public  JsonReferenceReplacer();
    public  JsonReferenceReplacer(String referencePrefix, String referenceSeparator, String referenceSuffix, String fallbackValueSeparator);

}