mrwatson-de / mymatejson Goto Github PK
View Code? Open in Web Editor NEW[Helps you get your JSON straight!] A tool for FileMaker developers working with JSON. Explore JSON trees, generate code to read/write JSON.
License: Other
[Helps you get your JSON straight!] A tool for FileMaker developers working with JSON. Explore JSON trees, generate code to read/write JSON.
License: Other
Script "JSONSetElement - Create expression" generates an invalid expression for fractional numbers for non-European users – those who use a period as a decimal separator:
I think it needs to be changed the following way:
vType = 2 ; Substitute ( vValue ; Left ( 1/2 ; 1 ) ; JSONGetElement ( Get ( SystemLocaleElements ) ; "Num.Decimal" ) )
Issue from Alex Zueiv
The Paths have completely disappeared.
Two options for showing leaves and compact Arrays, but no paths!
From Alex Zueiv's FM-Community Post
So here is another thought:
When I first clicked the Evaluate button on the JSONSetElement tab, I was surprised that it was overwriting the original JSON. I expected (and would prefer) this button to copy the created function into the Expression field on the Data Viewer tab, possible wrapped in the JSONFormatElements() function. The arrow on the button hints at this.
This package doesn't have any GitHub release. Could you please create one, so that people can use this project from jsDelivr CDN?
Pointed out by Alex Zueiv in this FM-Community post
This is a bug in the @JsonGetElementType CF from Alex Zueiv.
From Alex Zueiv:
Another issue caused by fractional numbers:
[314,[0,1],[]]
//==> ok:
JSONSetElement ( "[]" ;
[ "[0]" ; 314 ; JSONNumber ] ;
[ "[1][0]" ; 0 ; JSONNumber ] ;
[ "[1][1]" ; 1 ; JSONNumber ] ;
[ "[2]" ; "" ; JSONArray ]
)
[3.14,[0,1],[]]
//==> two errors:
JSONSetElement ( "[]" ;
[ "[0]" ; 3.14 ; JSONNumber ] ;
[ "[1]" ; [0.1] ; JSONNumber ] ; // error 1
[ "[1][0]" ; 0 ; JSONNumber ] ;
[ "[1][1]" ; 1 ; JSONNumber ] ;
[ "[2]" ; "" ; ] // error 2
)```
FM19.3 has a new syntax which supports dots in element names.
myMateJSON should support this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.