{"json_modified": "2016-10-04T04:10:50.253997", "uuid": "993d8759-ab0f-4682-b414-cd3a07376c37", "title": "Using the Web Storage API", "url": "/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API", "tags": ["API", "storage", "Guide", "localStorage", "sessionStorage", "Storage", "Web Storage API"], "translations": [{"uuid": "1e8dd7b2-1c9c-4937-9dbd-143abc27621d", "title": "Utilisation de l'API de stockage web", "url": "/fr/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API", "tags": ["Stockage", "Guide", "API", "Stockage Web", "localStorage"], "summary": "Les objets de stockages sont de simples magasins cl\u00e9-valeur, similaires aux objets, mais restant intacts apr\u00e8s des chargements de page. La cl\u00e9 peut \u00eatre une cha\u00eene de caract\u00e8re ou des entiers, mais la valeur sera toujours une cha\u00eene. Vous pouvez acc\u00e8der \u00e0 ces valeurs comme pour un objet ou avec les m\u00e9thodes getItem() et setItem(). Les trois lignes suivantes vont enregistrer la couleur de la m\u00eame fa\u00e7on :", "localization_tags": [], "locale": "fr", "last_edit": "2016-04-05T22:44:18", "review_tags": ["editorial"]}, {"uuid": "c64809e7-61f1-41aa-a167-d7846c5d6bab", "title": "Web Storage API \u3092\u4f7f\u7528\u3059\u308b", "url": "/ja/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API", "tags": ["API", "storage", "Guide", "localStorage", "sessionStorage", "Storage", "Web Storage API"], "summary": "Storage \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u30ad\u30fc\u3068\u5024\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u4fdd\u5b58\u3057\u3066\u304a\u308a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u3089\u306f\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u9593\u3058\u3085\u3046\u3001\u305d\u306e\u307e\u307e\u5b58\u5728\u3057\u7d9a\u3051\u307e\u3059\u3002\u30ad\u30fc\u306f\u6587\u5b57\u5217\u304b\u6574\u6570\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u5024\u306f\u6587\u5b57\u5217\u3057\u304b\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u3042\u308b\u3044\u306f getItem() \u304a\u3088\u3073 setItem() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u308c\u3089\u306e\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e 3 \u884c\u306f\u3059\u3079\u3066\u3001\u540c\u3058\u65b9\u6cd5\u3067 colorSetting \u3068\u3044\u3046\u9805\u76ee\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059:", "localization_tags": [], "locale": "ja", "last_edit": "2016-07-21T08:03:02", "review_tags": []}, {"uuid": "79082912-98e5-47e6-9577-8c4e9cee35a1", "title": "Using the Web Storage API", "url": "/ru/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API", "tags": [], "summary": "Storage objects are simple key-value stores, similar to objects, but they stay intact through page loads. \u00a0The keys can be strings or integers, but the values are always strings. \u00a0You can access these values like an object, or with the getItem() and setItem() methods. \u00a0These three lines all set the colorSetting entry in the same way:", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-08-04T04:02:18", "review_tags": []}, {"uuid": "ffb31afa-4740-4ea1-9adc-ebc6f24ba270", "title": "\u4f7f\u7528 Web Storage API", "url": "/zh-CN/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API", "tags": [], "summary": "Web Storage \u5305\u542b\u5982\u4e0b\u4e24\u79cd\u673a\u5236\uff1a", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-05-13T20:09:14", "review_tags": []}], "modified": "2016-10-04T04:10:50", "label": "Using the Web Storage API", "localization_tags": [], "locale": "en-US", "id": 131351, "last_edit": "2016-09-08T01:31:38", "summary": "Storage objects are simple key-value stores, similar to objects, but they stay intact through page loads. \u00a0The keys and the values are always strings (note that integer keys will be\u00a0automatically converted to strings, just like what object do).\u00a0You can access these values like an object, or with the getItem() and setItem() methods. \u00a0These three lines all set the colorSetting entry in the same way:", "sections": [{"id": "Basic_concepts", "title": "Basic concepts"}, {"id": "Feature-detecting_localStorage", "title": "Feature-detecting localStorage"}, {"id": "Testing_for_support_vs_availability", "title": "Testing for support vs availability"}, {"id": "A_simple_example", "title": "A simple example"}, {"id": "Testing_whether_your_storage_has_been_populated", "title": "Testing whether your storage has been populated"}, {"id": "Getting_values_from_storage", "title": "Getting values from storage"}, {"id": "Setting_values_in_storage", "title": "Setting values in storage"}, {"id": "Responding_to_storage_changes_with_the_StorageEvent", "title": "Responding to storage changes with the StorageEvent"}, {"id": "Deleting_data_records", "title": "Deleting data records"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Web_Storage_API/Using_the_Web_Storage_API", "review_tags": []}