json-schema-validator on app engine.

120 views
Skip to first unread message

Jonas Enlund

unread,
Feb 10, 2015, 2:41:49 AM2/10/15
to json-schem...@googlegroups.com

Hi

Is it possible to use json-schema-validator on google app engine (since GAE doesn't allow threads)?

Thanks,
Jonas

Francis Galiegue

unread,
Feb 10, 2015, 4:40:00 AM2/10/15
to Jonas Enlund, json-schem...@googlegroups.com
Hello,
Uh, no threads in 2015?

But unfortunately the answer is no. The cache of JSON Schemas uses a
LoadingCache from Guava which uses at least one thread for
maintenance. You do have the option to implement your own caching
mechanism however, so that it be, for instance, a synchronized access
to a map instead.

--
Francis Galiegue, fgal...@gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/fge/grappa
Reply all
Reply to author
Forward
0 new messages