summary refs log tree commit diff stats
path: root/lib/pure/json.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes #8037, json.to support object with distinct types (#8086)andri lim2018-07-191-5/+30
* Testament should run tests with no action (#8232)genotrance2018-07-081-18/+17
* Allow `%` overloading in `%*` macro in json (again)hlaaf2018-06-061-4/+4
* fix #7881, control characters in json output (#7887)hlaaf2018-05-281-0/+3
* json.nim: delete should raise KeyError, not IndexError, minor cleanup of the ...Araq2018-05-201-4/+4
* move parsejson logic into its own standard lib moduleAraq2018-05-181-505/+12
* fixes #7817Araq2018-05-141-0/+3
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-11/+4
* Improve deprecation messages in json docs.Dominik Picheta2018-04-251-4/+4
* tiny typoTerence Namusonge2018-04-251-1/+1
* Fix docs in json module after #7537Dominik Picheta2018-04-151-1/+3
* Add autovivification example (#7537)Federico Ceratto2018-04-161-0/+5
* make tests green againAndreas Rumpf2018-04-131-1/+1
* Fixes #6902Abhishek Kapatkar2018-03-301-1/+1
* Fixes #7433.Dominik Picheta2018-03-291-0/+10
* json.nim: documentation copy&paste issueAndreas Rumpf2018-03-161-1/+1
* Fix `json.to` for types with generic parametersOscar NihlgÄrd2018-02-111-1/+1
* Support all int, uint and float variants in json.to macro.Dominik Picheta2017-11-301-14/+16
* Fix infinite recursion when using json.to on ref with cycle.Dominik Picheta2017-11-301-0/+10
* Implement support for JsonNode in json.to.Dominik Picheta2017-11-301-0/+5
* Implement Table/OrderedTable support for json.to macro.Dominik Picheta2017-11-301-0/+24
* Implement support for Option[T] in json.to macro. Fixes #5848.Dominik Picheta2017-11-301-0/+27
* Fixes #6604. Rejects unnamed tuples with error.Dominik Picheta2017-11-301-2/+13
* Fixes #6095.Dominik Picheta2017-11-301-21/+36
* Fixes #5856. Code based on @loloiccl's PR (#5879).Dominik Picheta2017-11-301-5/+23
* make tests green againAndreas Rumpf2017-11-171-2/+2
* more replacements for the deprecated '<'Andreas Rumpf2017-10-291-8/+8
* Update json.nim (#6513)Daniil Yarancev2017-10-151-3/+9
* [JSON] getBVal -> getBool; getFNum -> getFloatDaniil Yarancev2017-10-141-8/+21
* Add default value for filename in parseJson proc (#6441)konqoro2017-09-281-1/+1
* fixes #6438Andreas Rumpf2017-09-281-10/+25
* Reorder json `add` and `%`, fixes #6385 (#6388)Mamy Ratsimbazafy2017-09-161-10/+10
* Changed JSON stringification to preserve UTF (#6330)Yuriy Glukhov2017-09-151-18/+11
* Fixed closure compiler incompatibility (#6365)Yuriy Glukhov2017-09-111-1/+1
* Update doc for json.to() with limitation (#6334)superfunc2017-09-061-0/+1
* Fixed handling of surrogate pairs (#6332)Yuriy Glukhov2017-09-051-2/+1
* Ascii character code 127 (DEL) is not printable and must be quoted. (#5984)Markus F.X.J. Oberhumer2017-06-151-1/+1
* Fixes #5761.Dominik Picheta2017-05-171-4/+17
* Small grammar fixes in json.nim (#5758)Daniil Yarancev2017-04-261-4/+4
* Add test for previous commit.Dominik Picheta2017-04-171-1/+1
* Support JInt fields for 'float' in JSON umarshal macro.Dominik Picheta2017-04-171-2/+2
* Fixes `null` handling for object refs in JSON unmarshal macro.Dominik Picheta2017-04-171-7/+22
* Add support for BiggestInt in JSON unmarshal macro.Dominik Picheta2017-04-171-0/+6
* Fix JSON macro bug with ref objects.Dominik Picheta2017-04-171-1/+5
* Implement support for enum fields in JSON macro.Dominik Picheta2017-04-091-1/+7
* Use doAssert in JSON macro and improve diagnostics.Dominik Picheta2017-04-091-11/+13
* Improve documentation in the JSON module.Dominik Picheta2017-04-091-15/+46
* Document `to` macro in JSON and add example.Dominik Picheta2017-04-091-22/+45
* Implements else branch for JSON unmarshalling of object variants.Dominik Picheta2017-04-091-17/+70
* Improve error messages and add tests for the JSON macro.Dominik Picheta2017-04-081-10/+25
) #echo(GC_getStatistics()) if msgs.gErrorCounter == 0: when hasTinyCBackend: if gCmd == cmdRun: tccgen.run(commands.arguments) if optRun in gGlobalOptions: if gCmd == cmdCompileToJS: var ex: string if options.outFile.len > 0: ex = options.outFile.prependCurDir.quoteShell else: ex = quoteShell( completeCFilePath(changeFileExt(gProjectFull, "js").prependCurDir)) execExternalProgram(findNodeJs() & " " & ex & ' ' & commands.arguments) elif gCmd == cmdCompileToPHP: var ex: string if options.outFile.len > 0: ex = options.outFile.prependCurDir.quoteShell else: ex = quoteShell( completeCFilePath(changeFileExt(gProjectFull, "php").prependCurDir)) execExternalProgram("php " & ex & ' ' & commands.arguments) else: var binPath: string if options.outFile.len > 0: # If the user specified an outFile path, use that directly. binPath = options.outFile.prependCurDir else: # Figure out ourselves a valid binary name. binPath = changeFileExt(gProjectFull, ExeExt).prependCurDir var ex = quoteShell(binPath) execExternalProgram(ex & ' ' & commands.arguments) when declared(GC_setMaxPause): GC_setMaxPause 2_000 when compileOption("gc", "v2") or compileOption("gc", "refc"): # the new correct mark&sweet collector is too slow :-/ GC_disableMarkAndSweep() condsyms.initDefines() when not defined(selftest): handleCmdLine() msgQuit(int8(msgs.gErrorCounter > 0)) 1'>781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021