[
https://issues.apache.org/jira/browse/COCOON3-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144974#comment-13144974
]
Andre Juffer commented on COCOON3-77:
-------------------------------------
<bean name="serializer:ehtml"
class="org.apache.cocoon.optional.servlet.components.sax.serializers.EncodingHTMLSerializer"
scope="prototype" />
+
+ <bean name="serializer:text"
+
class="org.apache.cocoon.optional.servlet.components.sax.serializers.EncodingTextSerializer"
+ scope="prototype">
+ </bean>
+
+ <bean name="serializer:json"
+
class="org.apache.cocoon.optional.servlet.components.sax.serializers.EncodingJsonSerializer"
+ scope="prototype">
+ </bean>
</beans>
> Text and JSON serializers
> -------------------------
>
> Key: COCOON3-77
> URL: https://issues.apache.org/jira/browse/COCOON3-77
> Project: Cocoon 3
> Issue Type: Improvement
> Components: cocoon-optional
> Affects Versions: 3.0.0-alpha-3
> Reporter: Andre Juffer
> Priority: Minor
> Attachments: EncodingJsonSerializer.java,
> EncodingTextSerializer.java, JsonSerializer.java, TextEncoder.java,
> TextSerializer.java, pom.xml, tribc-cocoon-3.xml
>
>
> Serveral classes have been created for serializing text and JSON in the
> sitemap. The JsonSerializer also checks whether the JSON text actually is
> valid. The organization of the classes follows the encoding serializers (such
> as the EncodingHTMLSerializer).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira