<commit_before># jsonm

jsonm packs your json and uses memoization powers!

# Examples

```
[
    { "firstName": "John", "lastName": "Doe" },
    { "firstName": "Anna", "lastName": "Smith" },
    { "firstName": "Agent", "lastName": "Smith", isAlias: true }
]
```

becomes

```
[0,
    [ "firstName", "lastName", "John", "Doe" ],
    [ 2, 3, "Anna", "Smith" ],
    [ 2, 3, "Agent", 7, "isAlias", true ]
]
```

becomes

```
[0,[2,3,4,5],[2,3,6,7],[2,3,8,7]]
```

and


```
[
    { "firstName": "Bryan", "lastName": "Fuller" },
    { "firstName": "John", "lastName": "Adams" },
    { "firstName": "Tim", "lastName": "Peterson" }
]
```

becomes

```
[0,[2,3,"Bryan","Fuller"],[2,3,4,"Adams"],[2,3,"Tim","Peterson"]]
```


vs

```
[2,"firstName","lastName","isAlias","John","Doe",false,"Anna","Smith",false,"Agent","Smith",true]
```

and

```
[2,"firstName","lastName","Bryan","Fuller","John","Adams","Tim","Peterson"]
```

# See also

- JSONH: https://github.com/WebReflection/JSONH
- JSONC: https://github.com/tcorral/JSONC<commit_msg>Update examples<commit_after># jsonm

jsonm packs your json and uses memoization powers!

# Examples

```
[
    { "firstName": "John", "lastName": "Doe" },
    { "firstName": "Anna", "lastName": "Smith" },
    { "firstName": "Agent", "lastName": "Smith", isAlias: true }
]
```

becomes

```
[0,
    [ "firstName", "lastName", "John", "Doe" ],
    [ 3, 4, "Anna", "Smith" ],
    [ 3, 4, "Agent", 8, "isAlias", true ]
]
```

becomes

```
[0,[3,4,5,6],[3,4,7,8],[3,4,9,8]]
```

and


```
[
    { "firstName": "Bryan", "lastName": "Fuller" },
    { "firstName": "John", "lastName": "Adams" },
    { "firstName": "Tim", "lastName": "Peterson" }
]
```

becomes

```
[0,[3,4,"Bryan","Fuller"],[3,4,5,"Adams"],[3,4,"Tim","Peterson"]]
```


vs

```
[2,"firstName","lastName","isAlias","John","Doe",false,"Anna","Smith",false,"Agent","Smith",true]
```

and

```
[2,"firstName","lastName","Bryan","Fuller","John","Adams","Tim","Peterson"]
```

# See also

- JSONH: https://github.com/WebReflection/JSONH
- JSONC: https://github.com/tcorral/JSONC
{'fraction_non_alphanumeric': 0.2894482090997096, 'fraction_numerical': 0.028073572120038724, 'mean_word_length': 4.872159090909091, 'pattern_counts': {'":': 24, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3240644', 'n_tokens_mistral': 928, 'n_tokens_neox': 859, 'n_words': 136}