module

AI::OpenAI::CodeConverter

Converter for code field that can be string or integer.

Class methods

from_json(pull : JSON::PullParser) : String | Int64 | Nil
Source
to_json(value : String | Int64 | Nil, builder : JSON::Builder)
Source