nobody ac628a9427
API: Improve MarshalToJson() in common/reflect/marshal.go (#3655)
* Serialize enum to string in MarshalToJson().

* MarshalToJson() respect json tags.

* Add insertTypeInfo parameter to MarshalToJson().

* Omit empty string in MarshalToJson().

* Serialize PortList to string in MarshalToJson().

---------

Co-authored-by: nobody <nobody@nowhere.mars>
2024-08-08 10:35:46 -04:00
..
2022-05-18 15:29:01 +08:00
2024-06-29 14:32:57 -04:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2023-06-19 00:51:03 +00:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2021-03-07 04:39:50 +00:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2021-03-06 16:29:17 +00:00
2024-06-29 14:32:57 -04:00
2024-02-17 22:51:37 -05:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2020-12-04 09:36:16 +08:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2023-03-04 10:39:26 +00:00
2024-06-29 14:32:57 -04:00
2023-06-12 10:32:25 -04:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00
2024-06-29 14:32:57 -04:00