org.apache.struts2.json.annotations

## Annotation Type JSON

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
      public @interface JSON

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `deserialize`
    `String` | `format`
    `String` | `name`
    `boolean` | `serialize`

- - ### Element Detail

    - #### name

          public abstract String name

      Default:
        ""

  - - #### serialize

          public abstract boolean serialize

      Default:
        true

  - - #### deserialize

          public abstract boolean deserialize

      Default:
        true

  - - #### format

          public abstract String format

      Default:
        ""

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.