issues Search Results · repo:json-iterator/go language:Go
Filter by
500 results
(102 ms)500 results
injson-iterator/go (press backspace or delete to remove)It seems jsoniter is not supporting omitzero tag from std and related IsZero() bool method. Is there any plans to
support it ?
freezlite
- Opened 12 days ago
- #714
See the code in any_object.go
func (any *objectLazyAny) ToVal(obj interface{}) {
iter := any.cfg.BorrowIterator(any.buf)
defer any.cfg.ReturnIterator(iter)
iter.ReadVal(obj)
}
When iter.ReadVal(obj) ...
JasonMing
- Opened on Mar 28
- #709
I filed this as a Go bug since it is architecture-specific, but cross-posting here for visibility:
https://github.com/golang/go/issues/71408
This code:
type Metadata struct {
Type string `json: type ...
bboreham
- 1
- Opened on Jan 23
- #707
Context
The last update in this repo dates back 2+ years ago (Sep 16, 2022).
The encoding/json library has evolved (slightly yet) e.g. https://go.dev/doc/go1.22#minor_library_changes (see this code
snippet), ...
mlevieux
- 3
- Opened on Jan 5
- #706
The following code runs fine in the original package, but panics after replacing it with jsoniter:
func() {
// resp is the structure generated by protobuf
// Return json when requested in Hex
if ...
Tiper-In-Github
- Opened on Oct 18, 2024
- #704
func TestJson(t *testing.T) {
type info struct {
Id int64 `json: id `
}
type test struct {
Result []info `json: result `
}
r := `{ result :[{ id : 1 },{ id : 2 }]}`
...
ansionfor
- 3
- Opened on May 30, 2024
- #703
What‘s the difference on parsing result when facing incorrect JSON string between sloppy mode and strict mode?
leeklch
- Opened on May 7, 2024
- #699
when using the Encode of the standard package, it adds a \n after every object, but when json-iterator gets it as an
input, it fails, see code for an example:
import (
bytes
encoding/json
io ...
lev112
- 1
- Opened on Apr 19, 2024
- #698
follow code cause stack overflow
import (
fmt
jsoniter github.com/json-iterator/go
testing
)
type A struct {
B *B `json: b `
}
type B struct {
A *A `json: a `
}
func TestJSON(t *testing.T) ...
clearcodecn
- Opened on Mar 20, 2024
- #696
when marshalling a time.Time with either timezone info 2024-03-31T15:09:16.822301-04:00 or without it as Z
2024-03-31T20:09:00.034949Z
the unmarshall throws this error ... readObjectStart: expect { or ...
go-aegian
- 1
- Opened on Feb 15, 2024
- #694

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.