Json serializer and parser for Clarion. Fork of code created by Dries Driessen http://www.indirection.nl/#!RavenDB
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BufferClass.clw
BufferClass.inc
JSONHandler.clw
JSONHandler.inc
JSONObject.clw
JSONObject.inc
README.md
base64.c
base64.h
base64.inc

README.md

ClarionJson

Json serializer and parser for Clarion. Fork of code created by Dries Driessen for his RavenDB client.

Changes in this fork:

###BufferClass

  • New methods: .AddLine, .SetPartialBuffer(fromPos,toPos,str), .Insert(atPos,str), .Fold(width), .GetLines(fromLine,toLine)
  • Some fixes

###JSONObject

  • New literal types for DateTime and Binary
  • Set literal type using EXTERNAL('') suffixes
  • Encode binary data to base64
  • New methods: SetDateValue(date), .SetTimeValue(time), .GetPropertyBooleanValue, .GetPropertyBinaryValue, .GetPropertyDateValue, .GetPropertyTimeValue, .GetPropertyUtf8Value, .AddBase64String
  • Optional parameter omitEmpty to .Add(*GROUP)
  • Fix for fields in inner groups added twice

###JSONHandler

  • Fix for handling '[' and '{'

Check commits for details.