new function typia.json.application<Class>()
#1687
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors the JSON schema application codebase to standardize naming, clarify documentation, and introduce a new function for generating JSON function schema applications. The changes replace the deprecated
IJsonApplicationtype with the newIJsonSchemaApplicationinterface, update all references throughout the codebase, and add a newapplicationfunction for generating schemas from TypeScript classes or interfaces. Documentation is improved to clarify the purpose and usage of these APIs, especially for advanced LLM integrations.API and Interface Refactoring
IJsonApplicationtype and replaced it with the newIJsonSchemaApplicationinterface, updating all usages across the codebase for consistency and future extensibility. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]New Feature: Function Schema Application
applicationfunction insrc/json.ts, which generates a JSON function schema application from a TypeScript class or interface, enabling advanced use cases such as custom LLM function calling schemas and code generation tools.Documentation and Usage Improvements
schemaandapplicationfunctions, clarifying their intended use, differences, and versioning details for OpenAPI specifications. [1] [2]Import and Export Updates
src/module.tsand imports throughout the codebase to use the newIJsonSchemaApplicationinterface, ensuring proper module structure and compatibility. [1] [2]Transformer Integration
applicationfunction in the transformer system, allowing it to be used as a callable transformation in the build pipeline. [1] [2]