Class CommentSerDes.CommentJSONParser

java.lang.Object
com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>
com.liferay.headless.digital.sales.room.client.serdes.v1_0.CommentSerDes.CommentJSONParser
Enclosing class:
CommentSerDes

public static class CommentSerDes.CommentJSONParser extends com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>
  • Field Summary

    Fields inherited from class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser

    JSON_ESCAPE_STRINGS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Comment
     
    protected Comment[]
    createDTOArray(int size)
     
    protected boolean
    parseMaps(String jsonParserFieldName)
     
    protected void
    setField(Comment comment, String jsonParserFieldName, Object jsonParserFieldValue)
     

    Methods inherited from class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser

    parseToDTO, parseToDTOs, parseToMap, toBigDecimals, toDate, toDates, toIntegers, toLongs, toString, toStrings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentJSONParser

      public CommentJSONParser()
  • Method Details

    • createDTO

      protected Comment createDTO()
      Specified by:
      createDTO in class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>
    • createDTOArray

      protected Comment[] createDTOArray(int size)
      Specified by:
      createDTOArray in class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>
    • parseMaps

      protected boolean parseMaps(String jsonParserFieldName)
      Specified by:
      parseMaps in class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>
    • setField

      protected void setField(Comment comment, String jsonParserFieldName, Object jsonParserFieldValue)
      Specified by:
      setField in class com.liferay.headless.digital.sales.room.client.json.BaseJSONParser<Comment>