This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<settings> | |
... | |
<activeProfiles> | |
<activeProfile>nexus</activeProfile> | |
</activeProfiles> | |
... | |
<profiles> | |
<profile> | |
<id>nexus</id> | |
<repositories> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ChunkedUDPDataReader.java | |
* Copyright (C) 2014 Kimmo Tuukkanen | |
* | |
* This file is part of Java Marine API. | |
* <http://ktuukkan.github.io/marine-api/> | |
* | |
* Java Marine API is free software: you can redistribute it and/or modify it | |
* under the terms of the GNU Lesser General Public License as published by the | |
* Free Software Foundation, either version 3 of the License, or (at your |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example | |
import example.Book | |
import example.Author | |
import grails.converters.JSON | |
/** | |
* Probably the cleanest way to define custom JSON marshalling in Grails. | |
* | |
* Imagine Book and Author are domain classes with some typical fields. | |
* |