search

Home  >  Q&A  >  body text

angular.js - How to get the two characters "B" and "D" in angular js in json{B:["Beijing", "Baoding", "Baotou"], D:["Dalian", "Dandong"]}

In

json {B:["北京",“保定”,"包头"],D:["大连",“丹东”]}, how to get the two characters "B" and "D" in angular js

伊谢尔伦伊谢尔伦2796 days ago566

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-15 17:08:26

    It has nothing to do with angular

    Object.keys(json)

    https://developer.mozilla.org...

    reply
    0
  • Cancelreply