Exporting Component values as JSON
We tried to export component values using @Model(adaptables = Resource.class, resourceType = {
"/components/content/carousel" }, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL, cache = false)
@3484101(name = "jackson", extensions = "json", options = {
@ExporterOption(name = "SerializationFeature.WRITE_DATES_AS_TIMESTAMPS", value = "true")}) to a JSON format, however we are able to see the JSON values in author and publisher instances, but on dispatcher URL when we try to access this JSON, it is giving us the content as html format.
How to access this JSON values from dispatcher URL as JSON format.