title: How to save field as JSON with Spring Data R2DBC and Postgres
body: <p>There are any way to save some field of entity as Json with spring-data-r2dbc?</p>
  <p>Example:</p>
  <pre><code>@Table(&quot;A&quot;)
  class A {
    @Id
    var id: String = &quot;1&quot;
    var some: MutableMap&lt;String, String&gt; = mutableMapOf()
  }
  </code></pre>
  <p>And table:</p>
  <pre><code>create table A (
     id varchar(255) not null primary key,
     some jsonb
  )
  </code></pre>
  <p>I've looked at Convertors of Spring data R2DBC, but It is necessery to write separate convertor for every class. Does it possible to generate converters to Json dynamically in runtime for all classes inherited from some special interface or annotated by specific annotation?</p>
  <p>Thanks!</p>