Home > By category > Scripts >Communication > Highly portable JSON-input parser



Highly portable JSON-input parser

  • Downloads: 
  • Views: 
  • Rating:

The JSON quickly gains popularity for a good reason. To paraphrase Christophe Delord (http://christophe.delord.free.fr/tpg/)
JSON is born from a simple statement:
A simple human-like meta-language will quickly
justify its use in such cases as data exchange over the web (e.g. Google translate), configuration files, etc.

See

http://sites.google.com/site/sim4stim/2clicks/a2t.html

for an example of AUTOMATIC, PORTABLE & REUSABLE creation of GUI sets for Matlab.
(Note: p_json.m is at the core of this example too)

Hence it is worth the while to provide this novel facility to the widest possible audience of Matlab users.

Based on work from:

http://json-schema.org/
&
http://www.mathworks.com/matlabcentral/fileexchange/ ::

F.Glineur 23393-another-json-parser: Faster, Clearer & More robust than #20565
J.Feenstra 20565-json-parser

This submission also provides a very simple (yet meaningful) use example (see also the screenshot).

Your test script (called a0t on the screenshot) may look like:

---------------------------------------------------------

fName = 'test02.jon';

fid = fopen(fName,'rt'); inString = fscanf(fid,'%c'); fclose(fid);

data = p_json(inString)

---------------------------------------------------------

and hence

inString == verbatim the 'test02.jon' TEXT input file,

provided in the .zip (see links below for more detail and more definitions):

=========================================================
inString =

{
"$schema":
{"properties":{
"name": {"type":"string"},
"age" : {"type":"integer",
"maximum":125,
"optional":true}
},
"type" : "object"
},
"name" : "John Doe",
"age" : 30
}

% =========================================================

*** See also:

Given the topical nature of the JSO notation we invite the user to take a look at places like:

http://en.wikipedia.org/wiki/JSON

http://json-schema.org/

http://json.org/

Free download from Shareware Connection - The JSON quickly gains popularity for a good reason

Publisher: Nedialko | License: Freeware | Price: 0.00
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 25-03-2013 | Rating: 0 | Title: Highly portable JSON-input parser

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/25713/2/p_json.zip

More downloads from Highly portable JSON-input parser publisher Nedialko:

Toward a program development and documentation toolbox - Here I don't provide any code (yet), but I'd like to hear your voice of feedback about what you fellow Matlab developers think

The Krouchev Journal-Figure Advanced MATLAB Toolkit - Toward an advanced Toolkit for Journal-Figure preparation using MATLAB

RUBIK1 - 1. Intro: Why rubik1? (see the separate HTML documents in the links below for more & 'muy picante' details)

Highly portable JSON-input parser keywords:
Highly portable JSON-input parser related downloads:

Portable Bookmarks - Portable Bookmarks is a compact, mobile and browser-independent bookmark manager, that allows you to attach it to any computer via a removable device. It also provides useful tools to manage your database protecting it with a password.

JSON for .NET - JSON for .

Tidy JSON - Tidy JSON is a console-based syntax highlighter and pretty printer for JSON text.

JSON Checker - JSON Checker is a console-based tool implemented as a Pushdown Automaton that very quickly determines if a JSON text is syntactically correct.

Song Parser - Song Parser is a handy and reliable utility designed to parse the currently playing song from either Spotify or Winamp and write the results to a text file.

Shareware Connection periodically updates pricing and software information of 'Highly portable JSON-input parser' from company source 'Nedialko' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Highly portable JSON-input parser' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Highly portable JSON-input parser.

New Reviews

Safe In Cloud - It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...

PureSync Personal - When you use computers, there is no way you can escape using specialized third party software. These need to be used for various needs including office productivity, web access, taking back-up and ensuring proper synchronization across multiple ...

EasyBrake - PC users often need to convert videos from various formats to other formats that suit their needs. As expected, there are hundreds of free and paid apps to accomplish such tasks nowadays. It is not mandatory that you will have to pay a high ...

Quick Crypt - PC users have become more conscious and careful about privacy of their data these days, especially about the data they need to share with others. There are valid reasons for this trend. Instances of personal information theft and attacking are on ...

DriveHQ Online Backup Enterprise Edition - For individual users as well as organizations, taking backup of data is vital nowadays. You really cannot count on the PC hard drive solely to store your data forever in a secure manner, as it is! Backup software is a prerequisite and choosing ...

Machete Video Editor Lite 3.8 build - Average PC users are no longer strangers to video file handling and editing. There are so many sources from where you acquire video files, as it is. You also need to deal with video clips acquired from cameras and smart phones. At times, you may ...

Windows Media Player - There is hardly any Windows user who has not used Windows Media Player. This app was bundled with nearly each version of Windows and whether you like or dislike the software, it is likely you had a brush with it during your initial days with the ...

Groovy Media Player - There is hardly any PC user who does not listen to music while working on PC or at leisure time. For media playback on Windows PC, there are so many apps. You can opt for default WMP that comes with the OS. However, there are several other third ...

Hanso Player - Using a media player application to play back music files is something nearly every PC user needs to do. There are so many applications that the abundance can leave average users somewhat puzzled. If the bundled WMP does not suit your taste but ...

UltraMixer Free Edition - Sound Mixing and is a sought after profession and creating your own mix is considered to be pretty cool. With Sound Mixing profession, also known as DJing, comes the need of certain software programs which help hugely while in this profession. ...




New Downloads

PHP Review Script

Every corporate website
providing products and/or
services online needs a proper
customer feedback. PHP Review
Script is ...

VidMate Video Converter

VidMate Video Converter is the
most renowned video converter
for converting video files
between various formats, with
...

Radial Basis Function
Network

Radial basis functions are use
for function approximation and
interpolation.

MatData

where "filename" is the string
of .mat file's name, "varname"
is the string of variable's
name stored in

matlab2tikz

As of now, matlab2tikz does
not support the conversion of
all possible MATLAB figures.

mixed-integer LP

This function solves the mixed
integer linear programming
problems.

Make_gui - automated GUI
creation

Auto generated GUIs for models
or subsystems with real time
emulation.

Box Plot with Whiskers
Plotted at Fixed
Percentiles

Normally boxplot plots the
whiskers with a maximum length
based on the distance between
the 25th and 75th percentile.

intent.m

INTENT creates a plot of
relationships between mfiles
in the current directory

Numerical Inversion of
Laplace Transforms in
Matlab

Inversion of Laplace
transforms is a very important
procedure used in solution of
complex linear systems

change_position_select_obj

reads files and an offset to
the coordinates of the
selected objects

Draggable SVG for Image
Effects

This javascript script allows
to drag&drop SVG entities over
an web page