Closed8
go unmarshalJSON with addtionalProperties

jsonschemaのdefaultはadditionalProperites:true。これをstructにmappingする方法はあるか?
genericsを使えるようになったのでコード生成を頑張る必要はなくなったかも?

昔に書いた記事(generics以前)

with perimeterx/marshmallow
marshmallowを使えばいけるかも?

additionalProperties {type: string} などは?
これはmapに対応させれば良い

structの型にadditionalPropertiesを含めるか含めないか

飽きてる
このスクラップは2024/07/13にクローズされました