Skip to content

Instantly share code, notes, and snippets.

@mandubian
Forked from playxamplez-admin/CODE
Last active September 30, 2021 20:03
Show Gist options
  • Save mandubian/6051831 to your computer and use it in GitHub Desktop.
Save mandubian/6051831 to your computer and use it in GitHub Desktop.
#Json #Reads/#Writes for a sealed #trait & inheriting caseclasses without type indication in Json #Play2.1
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2013 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

Play-Xamplez Root Gist

How to create Play Framework code snippets?

  1. Fork this Root Gist to create a new snippet.
  2. Modify your gist according to following rules:
  3. You MUST put a gist description which summarizes your snippet as precisely as possible:
    • Words starting with # like #tag are indexed as hashtags.
    • Words starting with @ like @john are highlighted as Twitter links (You can also precise @twitter:john or @github:john
    • URL will be highlighted in the description
  4. You can add as many files as you want in your gist
  5. File extensions are used to identify the language (e.g. code.scala -> scala)
  6. A code snippet shouldn't be too long (a few lines if possible) so don't hesitate to cut in several files
  7. If you want to explain precisely your code or provide usage examples, please use a Markdown file (e.g. README.md)
  8. You can put a License in __LICENSE.txt case your code need to be protected in anyway
  9. You can delete _README.md and any modification in it isn't taken into account
  10. Save it & wait for Play Xamplez to index it.
<put your code here & change extension to your language>
@bmitioglov
Copy link

Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment