Introduction
jFiles adds JSON support to Clarion. It contains
classes that let you create, and consume data files formatted as JSON.
JSON (JavaScript Object Notation) is a semi-formatted structure used for
moving data between programs. It is more structured (and easier to deal
with) than CSV but less verbose then XML. Thus it is especially popular as
a format used to interchange data over the internet - either between a
browser and a server, between a WebService and a client, or between a
mobile device and a web server.
jFiles makes it really easy to move data between common Clarion structures
(Table, Queue, View, Group) and JSON "strings". These strings could be in
memory (suitable for being sent out over the internet) or stored as files
on the disk.
Features
- Consume JSON files into Clarion structures (Table, Queue or Group.)
- Create JSON files from Clarion structures (Table, Queue, View or
Group.)
- Create Nested JSON structures directly from a Group, Queue or View.
- Integrates with NetTalk to allow JSON to be used for web services
instead of XML. (Requires NetTalk 8.42 or later)
- Supports (Clarion) Arrays
- Supports Extended Name Attributes
Webinars
A number of webinars on using jFiles, and jFiles
features exist. Here is an (incomplete) list of some of them;
Link |
Description |
524 |
Creating and Consuming JSON using jFiles (part 1 - Creating) |
525 |
Creating and Consuming JSON using jFiles (part 2 - Consuming) |
529 |
jFiles 2 - some simpler strategies for creating and consuming
complex structures |
581 |
Using new JsonClarionClass to write Clarion code. |
713 |
Introducing jFiles 3 |
Online Code Generator
jFiles makes possible an
online Clarion Code generator for JSON loading and
saving. This tool inspects some JSON that you provide, and then generates
appropriate Clarion structures, and jFiles code, for creating or consuming
that JSON. This greatly reduces the time it takes to use JSON in your
program.
Requirements
jFiles requires
StringTheory 3 and
CapeSoft Reflection.
If you are creating NetTalk Web Services, and you want to use jFiles to
create and consume the JSON in those web services, then you need NetTalk
build 8.42 or later.
Acknowledgments
jFiles is derived from code written by Dries Driessen.
It is used here under license.
Some of the shipping unit tests are based on files created for the
JsonTestSuite and is included under the terms of the
MIT license.
Compatible With
Clarion 8 |
Yes |
Clarion 9 / 9.1 |
Yes |
Clarion 10 |
Yes |
Clarion 11 / 11.1 |
Yes |
Clarion Templates |
Yes |
ABC Templates |
Yes |
AnyScreen |
Yes |
Hand-Coded Projects |
Yes |
Local Mode |
Yes |
DLL Mode |
Yes |
Multi DLL |
Yes |
Documentation & Support
Documentation for the product is available
here.
Go
here for further support.
Cost
jFiles requires
StringTheory 3 and
CapeSoft Reflection.
The price of jFiles 3 is $139. It is available for purchase from
ClarionShop.
Current owners of jFiles 1or jFiles 2 can upgrade for $99. The upgrade is
available for purchase from
ClarionShop.
For other payment options please contact us
here
Refund Policy
CapeSoft believes that if you aren't satisfied with
our products, we would like them back - and we will refund you the money.
This allows you to purchase our products with confidence. You can read our
full refund policy
here.