jsonifier
This module adds a 'jsonify' method to every model in the Odoo ORM to extract specified fields into JSON format using configurable parsers.
Key Features
- orm: Adds a 'jsonify' method to every model for extracting fields into JSON.
- orm: Supports simple parsers as lists of field names.
- orm: Supports nested field extraction using tuples for related records.
- orm: Allows custom JSON key names with 'field_name:json_key' syntax.
- orm: Enables custom field value parsing using callables or method names.
- ir.exports: Provides 'get_json_parser' method to generate parsers from ir.exports configurations.
- resolver: Defines a resolver model with python_code for custom transformations.
- orm: Supports advanced parsers with resolvers, language-agnostic exports, and multi-language field extraction.
- orm: Allows global resolvers to process the entire JSON dictionary.
- orm: Supports marshalling fields into lists using '=list' target suffix.
- orm: Includes 'with_fieldname' option to add translated field names to the output.