Log In    |    Knowledge Base    |    4D Home
4D Summit: [4D Summit 2018] Improving Control with JSON Schema Validation [EN]
Published On: May 16, 2018
This technical article is currently restricted to 4D Summit attendees and Partners Only. Login with your Customer account to have full access to this article!!!
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

JSON (JavaScript Object Notation) has become the most common data format for information transport across disparate services. The format’s popularity stems from its simplicity and human readability. These qualities also made it an excellent model for the similar 4D Object data type. But this simple flexibility can lead to errors and boilerplate code. The schema of JSON formatted data can now be validated, vastly improving control over error handling. Easily ensure that an object variable contains properly formatted names and JSON value types, confidently handle incoming/outgoing JSON formatted data and enhance the stability of any database. This session will explore the uses of the new object commands that interact with JSON format data. We offer use cases and examples on how simple it can be to implement. Learn how JSON validation will help you write less code and make a more stable application.

Presented by: Tai Bui • 4D Inc.