Interface JsonCompactibleDescriptor


  • public interface JsonCompactibleDescriptor
    Marker class and implementation check for if a struct can use the JSON jsonCompact format, using an array of the fields in numeric order.

    So the message:

    
     {
         "first_field": "The first",
         "second_field": 12345
     }
     
    Becomes:
    
     ["The first", 12345]
     
    See Also:
    JsonCompactible
    • Method Detail

      • isJsonCompactible

        default boolean isJsonCompactible()
        Returns:
        If the message may be compactible.