This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10941|Reply: 0

[HTML/HTML5] H5 utilizes localstorage to store JSON objects to arrays

[Copy link]
Posted on 11/8/2016 10:28:36 AM | | |
[
    {
        "Id": "de2389905aa5e611b01df677da062200",
        "Url": "http://xxx/public/de2389905aa5e611b01df677da062200.jpg",
        "Name": "QQ screenshot 20161024095112",
        "Width": 741,
        "Height": 321,
        "Size": 38976,
        "CreateTime": "2016-11-08 10:25:08"
    },
    {
        "Id": "8ec148835aa5e611b01df677da062200",
        "Url": "http://xxx/public/8ec148835aa5e611b01df677da062200.png",
        "Name": "QQ Picture 20161107095907",
        "Width": 1080,
        "Height": 1920,
        "Size": 4899551,
        "CreateTime": "2016-11-08 10:24:46"
    },
    {
        "Id": "8dc148835aa5e611b01df677da062200",
        "Url": "http://xxx/public/8dc148835aa5e611b01df677da062200.png",
        "Name": "Click on Game Details",
        "Width": 1744,
        "Height": 1680,
        "Size": 59488,
        "CreateTime": "2016-11-08 10:24:45"
    }
]


js code:







Previous:asp.net mvc to get the client IP address
Next:C# int to string with a comma for every three bits
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com