json-iterator

json-iterator

Jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go

Member Since 5 years ago

Experience Points
0
follower
Lessons Completed
0
follow
Best Reply Awards
14
repos
Activity
Jan
17
6 days ago
started
started time in 5 days ago
Activity icon
fork

fang-guang forked json-iterator/go

⚡ A high-performance 100% compatible drop-in replacement of "encoding/json"
fang-guang MIT License Updated
fork time in 5 days ago
started
started time in 5 days ago
started
started time in 5 days ago
Jan
16
1 week ago
Jan
15
1 week ago
started
started time in 1 week ago
Activity icon
fork

dcount107 forked json-iterator/go

⚡ A high-performance 100% compatible drop-in replacement of "encoding/json"
dcount107 MIT License Updated
fork time in 1 week ago
started
started time in 1 week ago
Jan
14
1 week ago
Activity icon
fork

Gitart forked json-iterator/go

⚡ A high-performance 100% compatible drop-in replacement of "encoding/json"
Gitart MIT License Updated
fork time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
Jan
13
1 week ago
started
started time in 1 week ago
pull request

crunk1 pull request json-iterator/go

crunk1
crunk1

Return first field encoding error encountered, if any, when encoding a struct.

Addresses #472

started
started time in 1 week ago
Activity icon
issue

pongraczgabor87 issue comment json-iterator/go

pongraczgabor87
pongraczgabor87

added fuzzy decoding for booleans, added ability to decode numeric keyed objects as arrays with fizzy decoder

rel https://github.com/json-iterator/go/issues/486

  • decode the followings as boolean: "true", "false", 0, 1, "0", "1".
  • allow unmarshalling numeric keyed objects with strictly increasing keys as array, eg: {"0": "a", "2": "b"}

The later is neccessary because of the "unset" php method, eg:

<?php

$a = ["a", "b", "c"];
echo json_encode($a); // prints ["a","b","c"]

unset($a[1]);
	
echo json_encode($a); // prints {"0":"a","2":"c"}
pongraczgabor87
pongraczgabor87

@taowen Would you have time to look into this?

started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
started
started time in 1 week ago
Jan
12
1 week ago
started
started time in 1 week ago
started
started time in 1 week ago