아이템 | 비고 |
Download the Latest Release | Source Code Repo : https://github.com/VBA-tools/VBA-JSON |
JsonConverter.bas Import | Adding JsonConverter module |
Adding Javascript Script Runtime Library | Runtime library added |
'' ' VBA-JSON v2.3.1 ' (c) Tim Hall - https://github.com/VBA-tools/VBA-JSON ' ' JSON Converter for VBA ' ' Errors: ' 10001 - JSON parse error ' ' @class JsonConverter ' @author tim.hall.engr@gmail.com ' @license MIT (http://www.opensource.org/licenses/mit-license.php) '' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ' ' ' Based originally on vba-json (with extensive changes) ' BSD license included below ' ' JSONLib, http://code.google.com/p/vba-json/ ' ' Copyright (c) 2013, Ryo Yokoyama ' All rights reserved. ------------------------------------------------------------------------------------ ' Load the XHR response to JSON Parse Library Set Json = JsonConverter.ParseJson(xhr.responseText) postTitle = Json("title") htmlDoc.body.innerHTML = Json("content")