Implement NorsuJsonWriter following NodeWriter, NodesResultWriter, NodeIteratorWriter (MGNLREST-372)

[MGNLREST-375] Create NorsuNodeWriter following NodeWriter Created: 06/May/22  Updated: 21/Jun/22  Resolved: 21/Jun/22

Status: Completed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Canh Nguyen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLREST-376 Create NorsuNodesResultWriter followi... Completed
Template:
Sprint: DevX 12, DevX 13
Team: DeveloperX

 Description   

NodeWriter is implementing from MessageBodyWriter that supports the conversion of a Node to a stream (See more #readNode). This may need to annotated with Produces to restrict the media types (Json) for which it will be considered suitable. It also need to register in provider for scanning phase.

Ref: https://git.magnolia-cms.com/projects/MODULES/repos/rest/browse/magnolia-rest-content-delivery/src/main/java/info/magnolia/rest/delivery/jcr/NodeWriter.java

AC: Implement the same approach for Norsu Node 


Generated at Mon Feb 12 06:59:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.