I\'m working on a migration software that will consume unknown data from REST services.
I already think about use MongoDB but I decide to not use it and use PostgreSQL.<
If you're using R2DBC you can use dependency io.r2dbc:r2dbc-postgresql
, and use type io.r2dbc.postgresql.codec.Json
in your member attributes of an entity class, e.g.:
public class Rule {
@Id
private String client_id;
private String username;
private String password;
private Json publish_acl;
private Json subscribe_acl;
}