Skip to content

Sample code showing how to properly deserialize JSON data (retrieved with async/await + fetch) to plain Java model / DTO objects

License

Notifications You must be signed in to change notification settings

lgrignon/jsweet-async-await-json-deserialization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSweet Model/DTO JSON deserialization + async / await

Sample code showing how to properly deserialize JSON data (retrieved with fetch) to plain Java model / DTO objects. It is worth noting the usage of the async / await idiom with JSweet along with the fetch API

Usage

> git clone https://github.com/lgrignon/jsweet-model-dto-json-deserialization.git
> cd jsweet-model-dto-json-deserialization
> mvn generate-sources
> firefox www/index.html

Prerequisites

About

Sample code showing how to properly deserialize JSON data (retrieved with async/await + fetch) to plain Java model / DTO objects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published