Convert JSON to DIF using Ruby

The GroupDocs.Conversion Cloud SDK for Ruby has been developed to help you get started with our document conversion REST API, which lets you seamlessly convert JSON to DIF or any of your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, JSON, DIF, HTML, CAD, raster images and many more.

Convert JSON to DIF using Ruby


                    

Formats supported by Cloud SDK for Ruby

JSON to PDF JSON to EPUB JSON to XPS JSON to TEX JSON to DOC JSON to DOCM JSON to DOCX JSON to DOT JSON to DOTM JSON to DOTX JSON to RTF JSON to ODT JSON to OTT JSON to TXT JSON to MD JSON to XML JSON to JSON JSON to HTML JSON to HTM JSON to MHT JSON to MHTML JSON to XLS JSON to XLSX JSON to XLSM JSON to XLSB JSON to ODS JSON to XLTX JSON to XLT JSON to XLTM JSON to TSV JSON to XLAM JSON to CSV JSON to FODS JSON to DIF JSON to SXC

Advanced Document Conversion API Features

Convert JSON to all common formats

Convert page by page JSON or custom range of pages

Watermark pages

Get high quality DIF output files

Password protect output document

APIs are secured and require authentication

Convert a Multitude of Document Formats beside JSON and DIF

GroupDocs.Conversion REST API has the capability to perform conversion on a number of document formats beside JSON and DIF. The information about the formats supported by the API can be obtained by using the code mentioned below:

Get all the supported file formats - Ruby

# Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
# Getting instance of the API
api = GroupDocsConversionCloud::ConversionApi.from_keys($app_sid, $app_key)

$request = GroupDocsConversionCloud::GetSupportedConversionTypesRequest.new()

# Retrieve supported file formats
$response = api.get_supported_conversion_types($request)

# Display all the supported file formats
puts("= Supported File Formats =")
$response.each do |format|
    puts("#{format.source_format} to [#{format.target_formats.join(', ')}]")
end

Get Started to convert JSON to DIF in No Time

GroupDocs.Conversion Cloud API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the REST API calls and lets you use GroupDocs.Conversion Cloud API features in a native way for your preferred language.

Security and Authentication

The GroupDocs.Conversion Cloud API is secured and requires authentication to convert JSON to DIF. Users need to register at GroupDocs Cloud and get their app access key ID (appSID) and app secret access key. Authenticated requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.

Easy Customization

GroupDocs.Conversion Cloud SDK is 100% tested and out of the box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of charge.

Support and Learning Resources

GroupDocs.Conversion Cloud also offers conversion of JSON to DIF using other popular languages as listed below: