How to import Richtexts fields


I am trying to import json data to create documents.

Document has a RichText field. what data type should I use to get the value from json as rich text.


I am able to do it as String.

you need to create a node e.g my_project_namespace:description (or whatever your node name is)
of hippostd:html primary type and set hippostd:content property as a string, it looks something like this

    jcr:primaryType: hippostd:html
    hippostd:content: YOUR_STRING

Thanks for your help.