Skip to content

Commit 50d7650

Browse files
committed
v1.0.0-rc.6
1 parent 523859c commit 50d7650

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

JsonConverter.bas

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Attribute VB_Name = "JsonConverter"
22
''
3-
' VBA-JSON v1.0.0-rc.5
4-
' (c) Tim Hall - https://github.com/timhall/VBA-JSONConverter
3+
' VBA-JSON v1.0.0-rc.6
4+
' (c) Tim Hall - https://github.com/VBA-tools/VBA-JSON
55
'
66
' JSON Converter for VBA
77
'
88
' Errors (513-65535 available):
99
' 10001 - JSON parse error
1010
' 10002 - ISO 8601 date conversion error
1111
'
12-
' @author: tim.hall.engr@gmail.com
13-
' @license: MIT (http://www.opensource.org/licenses/mit-license.php)
14-
'
12+
' @class JsonConverter
13+
' @author tim.hall.engr@gmail.com
14+
' @license MIT (http://www.opensource.org/licenses/mit-license.php)
1515
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ '
1616
'
1717
' Based originally on vba-json (with extensive changes)
@@ -43,7 +43,6 @@ Attribute VB_Name = "JsonConverter"
4343
' ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4444
' (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4545
' SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46-
'
4746
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ '
4847

4948
' === VBA-UTC Headers
@@ -124,9 +123,10 @@ Private Declare Sub json_CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _
124123
''
125124
' Convert JSON string to object (Dictionary/Collection)
126125
'
126+
' @method ParseJson
127127
' @param {String} json_String
128128
' @return {Object} (Dictionary or Collection)
129-
' -------------------------------------- '
129+
''
130130
Public Function ParseJson(ByVal json_String As String, Optional json_ConvertLargeNumbersToString As Boolean = True) As Object
131131
Dim json_Index As Long
132132
json_Index = 1
@@ -149,9 +149,10 @@ End Function
149149
''
150150
' Convert object (Dictionary/Collection/Array) to JSON
151151
'
152+
' @method ConvertToJson
152153
' @param {Variant} json_DictionaryCollectionOrArray (Dictionary, Collection, or Array)
153154
' @return {String}
154-
' -------------------------------------- '
155+
''
155156
Public Function ConvertToJson(ByVal json_DictionaryCollectionOrArray As Variant, Optional json_ConvertLargeNumbersFromString As Boolean = True) As String
156157
Dim json_buffer As String
157158
Dim json_BufferPosition As Long

specs/VBA-JSON - Specs.xlsm

151 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)