<commit_before>JSON Tools (Objective-C)
by [<NAME>](https://github.com/grgcombs)  
(MIT License - 2014)
=========

JSON Patch, JSON Pointer, and JSON Schema Validation in Objective-C

This Objective-C library is a collection of classes and categories that implement three powerful new features (JSON Patch, JSON Pointer, JSON Schema) that work with JSON data (represented by NSDictionaries and NSArrays in Objective-C).  Unit tests are included for each component.

- [JSON Patch](https://tools.ietf.org/html/rfc6902) - IETF RFC6902: Create and apply operation patches (add, remove, copy, move, test, _get) to serially transform JSON Data.  ***This functionality was inspired by [<NAME>'s](https://github.com/Starcounter-Jack) [JavaScript implementation of JSON Patch](https://github.com/Starcounter-Jack/JSON-Patch).***
    -  Example Patch Copy:  
        
        ```objc
        
            #import "JSONTools.h"
            #import "JSONDeeplyMutable.h"

            - (void)examplePatchCopy
            {
                 NSMutableDictionary *obj = nil;
                 NSMutableDictionary *expected = nil;
                 NSDictionary *patch = nil;
                 
                 obj = [@{@"foo": @1,
                          @"baz": @[@{@"qux": @"hello"}]} copyAsDeeplyMutableJSON];
                
                 patch = @{@"op": @"copy",
                           @"from": @"/foo",
                           @"path": @"/bar"};
                           <commit_msg>added the travis build status.<commit_after>JSON Tools (Objective-C)  
=========
by [<NAME>](https://github.com/grgcombs)  
(MIT License - 2014)

[![Build Status](https://travis-ci.org/grgcombs/JSONTools.svg?branch=master)](https://travis-ci.org/grgcombs/JSONTools)

JSON Patch, JSON Pointer, and JSON Schema Validation in Objective-C

This Objective-C library is a collection of classes and categories that implement three powerful new features (JSON Patch, JSON Pointer, JSON Schema) that work with JSON data (represented by NSDictionaries and NSArrays in Objective-C).  Unit tests are included for each component.

- [JSON Patch](https://tools.ietf.org/html/rfc6902) - IETF RFC6902: Create and apply operation patches (add, remove, copy, move, test, _get) to serially transform JSON Data.  ***This functionality was inspired by [<NAME>'s](https://github.com/Starcounter-Jack) [JavaScript implementation of JSON Patch](https://github.com/Starcounter-Jack/JSON-Patch).***
    -  Example Patch Copy:  
        
        ```objc
        
            #import "JSONTools.h"
            #import "JSONDeeplyMutable.h"

            - (void)examplePatchCopy
            {
                 NSMutableDictionary *obj = nil;
                 NSMutableDictionary *expected = nil;
                 NSDictionary *patch = nil;
                 
                 obj = [@{@"foo": @1,
                          @"baz": @[@{@"qux": @"hello"}]} copyAsDeeplyMutableJSON];
                
                 patch = @{@"op": @"copy",
                           @"from": @"/foo",
                           @"path": @"/bar"};
                           
{'fraction_non_alphanumeric': 0.12540089801154586, 'fraction_numerical': 0.008338678640153944, 'mean_word_length': 2.1127744510978044, 'pattern_counts': {'":': 12, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 10, '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': '1902822', 'n_tokens_mistral': 907, 'n_tokens_neox': 815, 'n_words': 250}