mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve support for types of database pgsql
This commit is contained in:
@ -3,12 +3,10 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gogf/gf/encoding/gjson"
|
||||
"math"
|
||||
)
|
||||
|
||||
func main() {
|
||||
body := "{\"id\": 413231383385427875}"
|
||||
fmt.Println(math.MaxFloat32)
|
||||
if dat, err := gjson.DecodeToJson(body); err == nil {
|
||||
fmt.Println(dat.MustToJsonString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user