MCPcopy Create free account
hub / github.com/OCA/server-tools / jsonify

Method jsonify

jsonifier/models/models.py:182–232  ·  view source on GitHub ↗

Convert the record according to the given parser. Example of (simple) parser: parser = [ 'name', 'number', 'create_date', ('partner_id', ['id', 'display_name', 'ref']) ('shipping_id', callable)

(self, parser, one=False, with_fieldname=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

_jsonify_recordMethod · 0.95
getMethod · 0.80
resolveMethod · 0.80