packages feed

json-autotype 1.0 → 1.0.1

raw patch · 3 files changed

+18/−4 lines, 3 filesdep ~lensPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: lens

API changes (from Hackage documentation)

Files

README.md view
@@ -19,7 +19,7 @@ After installing with `cabal install json-autotype`, you might generate stub code for the parser:  ```-    json-autotype input.json -o MyFormat.hs+    json-autotype input1.json ... inputN.json -o MyFormat.hs ```  Then you might test the parser by running it on an input file:@@ -28,7 +28,13 @@     runghc MyFormat.hs input.json ``` -If everything is correct, then feel free to inspect the data structure generated automatically for you!+At this point you may see data structure generated automatically for you.+The more input files you give to the inference engine `json-autotype`,+the more precise type description will be.++Algorithm will also suggest which types look similar, based on a set of attribute names,+and unify them unless specifically instructed otherwise.+ The goal of this program is to make it easy for users of big JSON APIs to generate entries from example data. 
changelog.md view
@@ -1,5 +1,13 @@ Changelog =========+    1.0.0.1  Apr 2015++        * Relaxed dependency to lens-4.10.++    1.0  Apr 2015++        * First stable release.+     0.5  Apr 2015          * Reduced name space pollution when generating code.
json-autotype.cabal view
@@ -1,6 +1,6 @@ -- Build information for the package. name:                json-autotype-version:             1.0+version:             1.0.1 synopsis:            Automatic type declaration for JSON input data description:         Generates datatype declarations with Aeson's "FromJSON" instances                      from a set of example ".json" files.@@ -69,7 +69,7 @@                        hashable             >=1.2  && <1.3,                        hint                 >=0.3  && <0.5,                        hflags               >=0.3  && <0.5,-                       lens                 >=4.1  && <4.10,+                       lens                 >=4.1  && <4.11,                        mtl                  >=2.1  && <2.3,                        pretty               >=1.1  && <1.3,                        process              >=1.1  && <1.4,