Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy json #4

Open
26 of 47 tasks
taowen opened this issue Jul 15, 2017 · 0 comments
Open
26 of 47 tasks

copy json #4

taowen opened this issue Jul 15, 2017 · 0 comments

Comments

@taowen
Copy link
Collaborator

taowen commented Jul 15, 2017

simple value

  • int
  • int8
  • int16
  • int32
  • int64
  • uint
  • uint8
  • uint16
  • uint32
  • uint64
  • float32
  • float64
  • string
  • bool

one level

  • slice + int
  • array + int
  • map + (string, int)
  • struct + *

two levels

  • slice + array
  • slice + map
  • slice + slice
  • slice + struct
  • array + array
  • array + map
  • array + slice
  • array + struct
  • map + array
  • map + map
  • map + slice
  • map + struct
  • struct + (array, map, slice, struct)

existing value

  • slice + int
  • array + int
  • map + (string, int)
  • struct

new value

nil

  • ptr int
  • ptr ptr int
  • slice int
  • slice ptr int
  • array
  • map
  • struct

empty interface

field tag

  • rename

extra

  • struct
  • [2]int

invalid

  • int
  • int via interface{}
@taowen taowen changed the title json copy json Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant