Skip to content

Get an Int value from JSON doesn't work #22

@webliupeng

Description

@webliupeng
o, err := objx.FromJSON(`{"foo": 1}`)
 if (err != nil) {
  panic(err)
}
println("foo", o.Get("foo").Int64())

It's return 0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions