PACKAGE
mantra.rest
Native REST framework runtime for the Mantra programming language — controllers, JSON serialization, and API routing.
📋 Classes & Interfaces Summary
| Class / Interface | Type | Description |
|---|---|---|
| RestController | ABSTRACT | Base abstract controller defining RESTful CRUD resource endpoint contracts with 405 defaults. |
| CrudController | INTERFACE | Convenience trait for REST controllers with standard resource routing prefixes. |
| JsonSerializer | CLASS | High-performance JSON serializer transforming structured objects and values into JSON text. |
| RouteHandler | CLASS | Typed route-to-handler registry and dispatcher for REST API endpoints. |
| ApiResponse | CLASS | Standardized REST API response envelope encapsulating status, data, errors, and pagination. |