<commit_before><?php

namespace WireMock\Client;

class JsonValueMatchingStrategy extends ValueMatchingStrategy
{
    const COMPARE_MODE__NON_EXTENSIBLE = "NON_EXTENSIBLE";
    const COMPARE_MODE__LENIENT = "LENIENT";

    private $_jsonCompareMode;

    function __construct($matchingValue, $jsonCompareMode)
    {
        parent::__construct('equalToJson', $matchingValue);
        $this->_jsonCompareMode = $jsonCompareMode;
    }
<commit_msg>Add strict & strict order JSON compare modes<commit_after><?php

namespace WireMock\Client;

class JsonValueMatchingStrategy extends ValueMatchingStrategy
{
    const COMPARE_MODE__NON_EXTENSIBLE = "NON_EXTENSIBLE";
    const COMPARE_MODE__LENIENT = "LENIENT";
    const COMPARE_MODE__STRICT = "STRICT";
    const COMPARE_MODE__STRICT_ORDER = "STRICT_ORDER";

    private $_jsonCompareMode;

    function __construct($matchingValue, $jsonCompareMode)
    {
        parent::__construct('equalToJson', $matchingValue);
        $this->_jsonCompareMode = $jsonCompareMode;
    }

{'fraction_non_alphanumeric': 0.0871694417238002, 'fraction_numerical': 0.0, 'mean_word_length': 4.941860465116279, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7385025', 'n_tokens_mistral': 310, 'n_tokens_neox': 295, 'n_words': 56}