Created
October 12, 2012 18:11
-
-
Save dakrone/3880616 to your computer and use it in GitHub Desktop.
Example output from cadastre - http://github.com/dakrone/cadastre
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "JSON and JSON SMILE encoding, fast.", | |
"group": "cheshire", | |
"name": "cheshire", | |
"namespaces": { | |
"cheshire.core": [ | |
{ | |
"arglists": [ | |
[ | |
"reader", | |
"&", | |
[ | |
"key-fn", | |
"array-coerce-fn" | |
] | |
] | |
], | |
"doc": "Returns a lazy seq of Clojure objects corresponding to the JSON read from\n the given reader. The seq continues until the end of the reader is reached.\n\n The array-coerce-fn is an optional function taking the name of an array field,\n and returning the collection to be used for array values.\n If non-laziness is needed, see parse-stream.", | |
"file": "cheshire/core.clj", | |
"line": 125, | |
"name": "parsed-seq", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"doc": "Object used to determine end of lazy parsing attempt.", | |
"file": "cheshire/core.clj", | |
"line": 113, | |
"name": "eof", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 151, | |
"name": "encode", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 152, | |
"name": "encode-stream", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 153, | |
"name": "encode-smile", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"reader", | |
"&", | |
[ | |
"key-fn", | |
"array-coerce-fn" | |
] | |
] | |
], | |
"doc": "Returns a lazy seq of Clojure objects corresponding to the SMILE read from\n the given reader. The seq continues until the end of the reader is reached.\n\n The array-coerce-fn is an optional function taking the name of an array field,\n and returning the collection to be used for array values.", | |
"file": "cheshire/core.clj", | |
"line": 138, | |
"name": "parsed-smile-seq", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"doc": "Returns a SMILE-encoded byte-array for the given Clojure object.\n Takes an optional date format string that Date objects will be encoded with.\n\n The default date format (in UTC) is: yyyy-MM-dd'T'HH:mm:ss'Z'", | |
"file": "cheshire/core.clj", | |
"line": 53, | |
"name": "generate-smile", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"parser", | |
"key-fn", | |
"array-coerce-fn" | |
] | |
], | |
"doc": "Internal lazy-seq parser", | |
"file": "cheshire/core.clj", | |
"line": 117, | |
"name": "parsed-seq*", | |
"ns": "cheshire.core", | |
"private": true, | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"rdr", | |
"&", | |
[ | |
"key-fn", | |
"array-coerce-fn" | |
] | |
] | |
], | |
"doc": "Returns the Clojure object corresponding to the given reader, reader must\n implement BufferedReader. An optional key-fn argument can be either true (to\n coerce keys to keywords),false to leave them as strings, or a function to\n provide custom coercion.\n\n The array-coerce-fn is an optional function taking the name of an array field,\n and returning the collection to be used for array values.\n If laziness is needed, see parsed-seq.", | |
"file": "cheshire/core.clj", | |
"line": 85, | |
"name": "parse-stream", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 155, | |
"name": "decode-stream", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj", | |
"writer" | |
], | |
[ | |
"obj", | |
"writer", | |
"opt-map" | |
] | |
], | |
"doc": "Returns a BufferedWriter for the given Clojure object with the.\n JSON-encoded data written to the writer. Takes an optional date\n format string that Date objects will be encoded with.\n\n The default date format (in UTC) is: yyyy-MM-dd'T'HH:mm:ss'Z'", | |
"file": "cheshire/core.clj", | |
"line": 33, | |
"name": "generate-stream", | |
"ns": "cheshire.core", | |
"tag": "java.lang.String" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"string", | |
"&", | |
[ | |
"key-fn", | |
"array-coerce-fn" | |
] | |
] | |
], | |
"doc": "Returns the Clojure object corresponding to the given JSON-encoded string.\n An optional key-fn argument can be either true (to coerce keys to keywords),\n false to leave them as strings, or a function to provide custom coercion.\n\n The array-coerce-fn is an optional function taking the name of an array field,\n and returning the collection to be used for array values.", | |
"file": "cheshire/core.clj", | |
"line": 71, | |
"name": "parse-string", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 154, | |
"name": "decode", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/core.clj", | |
"line": 156, | |
"name": "decode-smile", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"bytes", | |
"&", | |
[ | |
"key-fn", | |
"array-coerce-fn" | |
] | |
] | |
], | |
"doc": "Returns the Clojure object corresponding to the given SMILE-encoded bytes.\n An optional key-fn argument can be either true (to coerce keys to keywords),\n false to leave them as strings, or a function to provide custom coercion.\n\n The array-coerce-fn is an optional function taking the name of an array field,\n and returning the collection to be used for array values.", | |
"file": "cheshire/core.clj", | |
"line": 100, | |
"name": "parse-smile", | |
"ns": "cheshire.core", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"doc": "Returns a JSON-encoding String for the given Clojure object. Takes an\n optional date format string that Date objects will be encoded with.\n\n The default date format (in UTC) is: yyyy-MM-dd'T'HH:mm:ss'Z'", | |
"file": "cheshire/core.clj", | |
"line": 12, | |
"name": "generate-string", | |
"ns": "cheshire.core", | |
"tag": "java.lang.String" | |
} | |
], | |
"cheshire.custom": [ | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 104, | |
"name": "parsed-seq", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"cls", | |
"encoder" | |
] | |
], | |
"doc": "Provide an encoder for a type not handled by Cheshire.\n\n ex. (add-encoder java.net.URL encode-string)\n\n See encode-str, encode-map, etc, in the cheshire.custom\n namespace for encoder examples.", | |
"file": "cheshire/custom.clj", | |
"line": 282, | |
"name": "add-encoder", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj", | |
"w" | |
], | |
[ | |
"obj", | |
"w", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 52, | |
"name": "encode-stream*", | |
"ns": "cheshire.custom", | |
"tag": "java.lang.String" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"m", | |
"jg" | |
] | |
], | |
"doc": "Encode a clojure map to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 177, | |
"name": "encode-map", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 43, | |
"name": "encode", | |
"ns": "cheshire.custom", | |
"tag": "java.lang.String" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"b", | |
"jg" | |
] | |
], | |
"doc": "Encode a Boolean object to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 165, | |
"name": "encode-bool", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj", | |
"w" | |
], | |
[ | |
"obj", | |
"w", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 67, | |
"name": "encode-stream", | |
"ns": "cheshire.custom", | |
"tag": "java.lang.String" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"n", | |
"jg" | |
] | |
], | |
"doc": "Encode a clojure.lang.Ratio to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 145, | |
"name": "encode-ratio", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"s", | |
"jg" | |
] | |
], | |
"doc": "Encode a seq to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 150, | |
"name": "encode-seq", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"doc": null, | |
"file": "cheshire/custom.clj", | |
"line": 22, | |
"name": "JSONable", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"s", | |
"jg" | |
] | |
], | |
"doc": "Encode a clojure symbol to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 190, | |
"name": "encode-symbol", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"k", | |
"jg" | |
] | |
], | |
"doc": "Encode a keyword to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 170, | |
"name": "encode-named", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 89, | |
"name": "encode-smile", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 19, | |
"name": "core-failure", | |
"ns": "cheshire.custom", | |
"private": true, | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"s", | |
"jg" | |
] | |
], | |
"doc": "Encode a string to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 125, | |
"name": "encode-str", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 115, | |
"name": "generate-smile*", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"t", | |
"jg" | |
] | |
], | |
"doc": null, | |
"name": "to-json", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 111, | |
"name": "generate-string*", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"n", | |
"jg" | |
] | |
], | |
"doc": "Encode anything implementing java.lang.Number to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 130, | |
"name": "encode-number", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 114, | |
"name": "generate-smile", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"_", | |
"jg" | |
] | |
], | |
"doc": "Encode null to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 120, | |
"name": "encode-nil", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 102, | |
"name": "parse-stream", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 100, | |
"name": "parse", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 106, | |
"name": "decode-stream", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 112, | |
"name": "generate-stream", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 101, | |
"name": "parse-string", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 105, | |
"name": "decode", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 107, | |
"name": "decode-smile", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 103, | |
"name": "parse-smile", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 110, | |
"name": "generate-string", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 25, | |
"name": "encode*", | |
"ns": "cheshire.custom", | |
"tag": "java.lang.String" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj" | |
], | |
[ | |
"obj", | |
"opt-map" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 76, | |
"name": "encode-smile*", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"cls" | |
] | |
], | |
"file": "cheshire/custom.clj", | |
"line": 294, | |
"name": "remove-encoder", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"dynamic": true, | |
"file": "cheshire/custom.clj", | |
"line": 16, | |
"name": "*date-format*", | |
"ns": "cheshire.custom", | |
"private": true, | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"n", | |
"jg" | |
] | |
], | |
"doc": "Encode anything implementing java.lang.Number to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 135, | |
"name": "encode-long", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"n", | |
"jg" | |
] | |
], | |
"doc": "Encode anything implementing java.lang.Number to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 140, | |
"name": "encode-int", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"d", | |
"jg" | |
] | |
], | |
"doc": "Encode a date object to the json generator.", | |
"file": "cheshire/custom.clj", | |
"line": 158, | |
"name": "encode-date", | |
"ns": "cheshire.custom", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/custom.clj", | |
"line": 113, | |
"name": "generate-stream*", | |
"ns": "cheshire.custom", | |
"tag": null | |
} | |
], | |
"cheshire.factory": [ | |
{ | |
"arglists": null, | |
"dynamic": true, | |
"file": "cheshire/factory.clj", | |
"line": 78, | |
"name": "*json-factory*", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.core.JsonFactory" | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/factory.clj", | |
"line": 9, | |
"name": "default-date-format", | |
"ns": "cheshire.factory", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/factory.clj", | |
"line": 75, | |
"name": "smile-factory", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.dataformat.smile.SmileFactory" | |
}, | |
{ | |
"arglists": null, | |
"dynamic": true, | |
"file": "cheshire/factory.clj", | |
"line": 80, | |
"name": "*smile-factory*", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.dataformat.smile.SmileFactory" | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/factory.clj", | |
"line": 74, | |
"name": "json-factory", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.core.JsonFactory" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"opts" | |
] | |
], | |
"file": "cheshire/factory.clj", | |
"line": 24, | |
"name": "make-json-factory", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.core.JsonFactory" | |
}, | |
{ | |
"arglists": [ | |
[ | |
"opts" | |
] | |
], | |
"file": "cheshire/factory.clj", | |
"line": 49, | |
"name": "make-smile-factory", | |
"ns": "cheshire.factory", | |
"tag": "com.fasterxml.jackson.dataformat.smile.SmileFactory" | |
}, | |
{ | |
"arglists": null, | |
"file": "cheshire/factory.clj", | |
"line": 11, | |
"name": "default-factory-options", | |
"ns": "cheshire.factory", | |
"tag": null | |
} | |
], | |
"cheshire.generate": [ | |
{ | |
"arglists": [ | |
[ | |
"jg", | |
"obj", | |
"date-format", | |
"e" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 46, | |
"name": "generate-map", | |
"ns": "cheshire.generate", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"obj", | |
"e" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 12, | |
"name": "fail", | |
"ns": "cheshire.generate", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jg", | |
"obj", | |
"date-format", | |
"e" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 58, | |
"name": "generate-array", | |
"ns": "cheshire.generate", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jg", | |
"str" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 9, | |
"name": "write-string", | |
"ns": "cheshire.generate", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jg", | |
"obj", | |
"e" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 17, | |
"macro": true, | |
"name": "number-dispatch", | |
"ns": "cheshire.generate", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jg", | |
"obj", | |
"date-format", | |
"ex" | |
] | |
], | |
"file": "cheshire/generate.clj", | |
"line": 66, | |
"name": "generate", | |
"ns": "cheshire.generate", | |
"tag": null | |
} | |
], | |
"cheshire.parse": [ | |
{ | |
"arglists": [ | |
[ | |
"jp", | |
"key-fn", | |
"bd?", | |
"array-coerce-fn" | |
] | |
], | |
"file": "cheshire/parse.clj", | |
"line": 40, | |
"name": "parse*", | |
"ns": "cheshire.parse", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jp", | |
"key-fn", | |
"bd?", | |
"array-coerce-fn" | |
] | |
], | |
"file": "cheshire/parse.clj", | |
"line": 26, | |
"name": "parse-array", | |
"ns": "cheshire.parse", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jp", | |
"key-fn", | |
"eof", | |
"array-coerce-fn" | |
] | |
], | |
"file": "cheshire/parse.clj", | |
"line": 56, | |
"name": "parse", | |
"ns": "cheshire.parse", | |
"tag": null | |
}, | |
{ | |
"arglists": null, | |
"doc": "Flag to determine whether float values should be returned as\n BigDecimals to retain precision. Defaults to false.", | |
"dynamic": true, | |
"file": "cheshire/parse.clj", | |
"line": 6, | |
"name": "*use-bigdecimals?*", | |
"ns": "cheshire.parse", | |
"tag": null | |
}, | |
{ | |
"arglists": [ | |
[ | |
"jp", | |
"key-fn", | |
"bd?", | |
"array-coerce-fn" | |
] | |
], | |
"file": "cheshire/parse.clj", | |
"line": 11, | |
"name": "parse-object", | |
"ns": "cheshire.parse", | |
"tag": null | |
} | |
] | |
}, | |
"url": "https://github.com/dakrone/cheshire", | |
"version": "4.0.4-SNAPSHOT" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment