search

Home  >  Q&A  >  body text

Could you please tell me how to dynamically add or modify attribute values ​​in json?

For example, if there is a separate json.txt file to save data, how to use PHP to change the attribute values ​​​​in json.txt or add new attributes and attribute values

虔2235 days ago1242

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2018-10-16 20:54:02

    PHP reads data, json_decode directly parses the operation

    reply
    0
  • 虔

    Thanks!

    · 2018-10-16 21:48:02
  • Cancelreply