In web development, if you need to bind the "json object returned by the server" to the "dom element on the existing page", the traditional assignment method is too cumbersome and tiring to write (especially the json object is very large ), so I came up with the following lazy method, but there are two prerequisites:
1. The ID of the element should be consistent with the attribute name in the json object
2. It is best not to repeat the attribute name in the json object