CSNJQFormatter 0.0.1

CSNJQFormatter 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



Overview

format JSON string to easy to read for jq.

Print out jq command equivalents for JSON, NSString and NSData (e.g. cat <<'END' | jq '.' \n{"foo":"bar"}\nEND) for debugging in the console.

Requirements

  • iOS 6 or Later
  • ARC

Usage

[TTTJSONFormatter jqCommandFromJSON:@{@"foo": @"bar"}];
 cat <<'END' | jq '.' 
{"foo":"bar"}
END

Install

Use CocoaPods,

pod 'CSNJQFormatter', '~> 0.0'

License

CSNJQFormatter is available under the MIT license. See the LICENSE file for more info.