Skip to main content

# SRJSON2Mantle

![](https://img.shields.io/badge/build-passing-brightgreen.svg) ![](https://img.shields.io/pypi/status/SRJSON2Mantle.svg) ![](https://img.shields.io/pypi/pyversions/SRJSON2Mantle.svg) ![](https://img.shields.io/badge/license-MIT-green.svg) ![PyPI](https://img.shields.io/pypi/v/SRJSON2Mantle.svg) ![](https://img.shields.io/badge/language-python-orange.svg)

A macOS command line tool that generates Mantle data models based on JSON data.

Feel free to modify the code it creates for you.

## Features

  • Supports nested JSON data, which means JSON2Mantle can generate the correct number of classes that the JSON file contains.

  • Convert field name like var_name to varName automatically.

## How to install it ` $ sudo pip install SRJSON2Mantle `

## How to use it ` $ srjson2mantle [-h] [--prefix PREFIX] json_file output_dir `

## Example ` $ srjson2mantle model.json class --prefix ABC `

will generate Mantle models according to your api_model.json structure. The output files will be created under output_dir directory and the Objective-C classes have the prefix ABC.

Metadata

Release files for SRJSON2Mantle 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SRJSON2Mantle 1.1.3
File Size Uploaded Provenance Actions
SRJSON2Mantle-1.1.3.tar.gz 7.8 kB Without provenance Details for SRJSON2Mantle-1.1.3.tar.gz

Release files / SRJSON2Mantle-1.1.3.tar.gz

Download URL SRJSON2Mantle-1.1.3.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
26da164961575d0dcf03c67c4dc0b4fb36b557eb02fd98afcbd5c9269c50ec4d
BLAKE2b-256 checksum
How to use checksums
4b8739cce309f629bb13a090679341ab6d8937d46900701eca237e916e678d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for SRJSON2Mantle 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page