Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Tibor Vass d30aec9fd6 Merge pull request #5 from jfrazelle/fix-links
change all jfrazelle to docker
2016-03-03 17:27:18 -05:00
Jessica Frazelle 2128fe4ec4
change all jfrazelle to docker
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-03-03 11:41:12 -08:00
Jess Frazelle c4d9f5c4e1 Merge pull request #4 from cyli/rebase-1.6
Rebase to Go 1.6
2016-03-03 11:38:47 -08:00
cyli c82d2d98a6 Rebase to Go 1.6
Signed-off-by: cyli <cyli@twistedmatrix.com>
2016-02-25 15:34:41 -08:00
Jessica Frazelle 8f7b4a946c
change to 1.5.3
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-01-25 16:08:03 -08:00
Jessica Frazelle baf439e6c1
update circle ci
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-11-02 10:14:13 -08:00
Jessica Frazelle 62e5ec7cf4
rebase on go 1.5.1
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-11-02 09:59:17 -08:00
Jessica Frazelle a8e3e214f2 add go license
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-09-06 15:57:37 -07:00
Jessica Frazelle 6e461eb70c update patches
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-27 11:06:00 -07:00
Tonis Tiigi d62108ab70 Encode non-fatal floats as integers in canonical mode
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-08-27 11:04:12 -07:00
Jessica Frazelle d818992b91 add test for canonical float error
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-27 11:04:12 -07:00
Tibor Vass ee929ab88d Expose Encoder.Canonical() and MarshalCanonical() Handles lexicographic order in struct fields, rejects floating numbers and handles strings as defined in http://wiki.laptop.org/go/Canonical_JSON except for unicode normalization. IOW, only escaping allowed is " and \.
The notion of Canonical JSON is only for an Encoder.

Signed-off-by: Tibor Vass <teabee89@gmail.com>
2015-08-07 12:59:03 -07:00
Jessica Frazelle bdaf7a958c add patches
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-07 12:59:03 -07:00
Jessica Frazelle 4a314a4dd6 add new patches
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-07 12:58:45 -07:00
Jessica Frazelle 47ec822e24 dont encode shit
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 21:33:58 -07:00
Jessica Frazelle 51c947c0fd Disallow floating point numbers.
Floating point numbers are not allowed in canonical JSON.
Neither are leading zeros or "minus 0" for integers.

according to http://wiki.laptop.org/go/Canonical_JSON

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 20:51:31 -07:00
Jessica Frazelle e71362867b ordered maps for canonicalized json
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 20:47:10 -07:00
Jessica Frazelle 561e20406c start over
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 20:46:53 -07:00
Jessica Frazelle b5eeb160cb add circle.yml
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 18:56:47 -07:00
Jessica Frazelle f56a99f22f update makefile and patches
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 18:41:56 -07:00
Jessica Frazelle b0b3e735f4 Disallow floating point numbers.
Floating point numbers are not allowed in canonical JSON.
Neither are leading zeros or "minus 0" for integers.

according to http://wiki.laptop.org/go/Canonical_JSON

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 18:37:23 -07:00
Jessica Frazelle 8439c05729 Add OrderedObject Type for canonical json
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-08-01 18:33:15 -07:00
Jessica Frazelle e48030ec65 initial source
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-07-26 06:46:21 -07:00
Jessie Frazelle 867a8c2101 Initial commit 2015-07-26 05:37:25 -07:00