Score_ - the actual score typepublic abstract class AbstractScoreJsonbAdapter<Score_ extends Score<Score_>> extends Object implements javax.json.bind.adapter.JsonbAdapter<Score_,String>
Score type.
For example: use @JsonbTypeAdapter(HardSoftScoreJsonbAdapter.class)
on a HardSoftScore score field and it will be serialized to JSON as "score":"-999hard/-999soft".
Or better yet, use OptaPlannerJsonbConfig instead.
Score| Constructor and Description |
|---|
AbstractScoreJsonbAdapter() |
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.