Nick Khyl
2a2228f97b
util/syspolicy/setting: make setting.RawItem JSON-marshallable
...
We add setting.RawValue, a new type that facilitates unmarshalling JSON numbers and arrays
as uint64 and []string (instead of float64 and []any) for policy setting values.
We then use it to make setting.RawItem JSON-marshallable and update the tests.
Updates #12687
Signed-off-by: Nick Khyl <nickk@tailscale.com>
2024-10-30 12:50:29 -05:00
..
2024-02-27 23:03:49 -05:00
2023-01-27 15:36:29 -08:00
2024-10-14 11:34:31 +02:00
2024-06-05 15:24:04 -07:00
2024-03-05 16:57:04 +00:00
2024-10-21 16:29:16 -05:00
2024-04-16 15:32:38 -07:00
2024-02-08 17:34:22 -08:00
2024-06-19 12:25:53 -07:00
2023-03-04 12:24:55 -08:00
2024-04-16 15:32:38 -07:00
2024-01-18 12:08:13 -08:00
2024-04-16 15:32:38 -07:00
2024-04-16 15:32:38 -07:00
2023-06-23 12:50:45 -07:00
2023-11-01 19:23:16 -07:00
2024-04-16 15:32:38 -07:00
2023-10-13 15:38:22 -07:00
2023-11-22 12:09:59 -05:00
2024-04-16 15:32:38 -07:00
2024-07-10 09:57:00 -07:00
2023-01-27 15:36:29 -08:00
2024-10-03 20:15:00 +01:00
2024-05-17 20:01:40 -04:00
2023-04-17 18:38:24 -04:00
2024-04-16 15:32:38 -07:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00
2024-07-10 09:57:00 -07:00
2024-07-10 09:57:00 -07:00
2024-07-29 19:39:55 -07:00
2024-04-16 15:32:38 -07:00
2024-05-24 14:11:19 -04:00
2023-01-27 15:36:29 -08:00
2024-03-27 08:53:52 -05:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00
2023-01-27 15:36:29 -08:00
2024-06-05 15:57:27 -07:00
2024-06-05 15:24:04 -07:00
2024-04-16 15:32:38 -07:00
2024-05-05 21:14:28 -07:00
2024-06-10 18:38:27 -04:00
2024-09-11 18:36:00 -07:00
2024-10-30 12:50:29 -05:00
2023-04-03 17:14:14 -04:00
2023-01-27 15:36:29 -08:00
2023-08-08 19:51:44 -06:00
2024-04-16 15:32:38 -07:00
2024-04-04 14:38:16 -07:00
2024-04-16 15:32:38 -07:00
2024-09-25 15:57:00 +02:00
2024-10-09 12:59:25 -05:00
2024-08-20 08:07:57 -06:00
2024-04-16 15:32:38 -07:00