jsonformer icon indicating copy to clipboard operation
jsonformer copied to clipboard

【Question】Does it support string lists?

Open guifou opened this issue 8 months ago • 1 comments

I see that the readme mentions support for arrays, so does it also support string lists?

guifou avatar Apr 27 '25 09:04 guifou

@guifou Hi 👋

I noticed this issue was filed for jsonformer, so I wanted to let you know about Outformer: https://github.com/milistu/outformer, a maintained and enhanced alternative.

For your question, if you mean if it can generate a list of strings (List[str]), yes, it can.

🚀Improvements in OutFormer

  • Array handling & min/max support I fixed array generation bugs and added full support for minItems and maxItems, matching JSON Schema capabilities

  • Better type coverage Supports basic types (string/number/boolean), nested objects, arrays, and enum for constrained values, with descriptive context to improve clarity during generation.

  • Descriptions You can now define value descriptions, which OutFormer uses to generate more meaningful outputs.

🧩 Usage Example

You can find examples that I have created.

🔄 Maintenance & Future Plans

OutFormer is actively maintained, I regularly address bugs, add new features, and keep pace with JSON Schema enhancements. If something's missing or broken, feel free to open an issue or PR, I’ll prioritise it.

milistu avatar Jul 14 '25 14:07 milistu