Skip to content

Instantly share code, notes, and snippets.

View petervalencic's full-sized avatar

Peter Valencic petervalencic

View GitHub Profile
@navjotdhanawat
navjotdhanawat / json-to-s3.js
Created July 3, 2018 07:17
Create json and upload to s3 bucket using nodejs.
var AWS = require('aws-sdk');
AWS.config.update({ region: 'us-east-1' });
var s3 = new AWS.S3();
var obj = {
firstname: "Navjot",
lastname: "Dhanawat"
};
var buf = Buffer.from(JSON.stringify(obj));
@umidjons
umidjons / parse-json-in-plsql.md
Created August 1, 2014 04:25
Parse JSON in PL/SQL

Parse JSON in PL/SQL

Download and install PL/JSON.

Following is an example of how to parse a JSON array represented as string:

declare
	my_clob clob := '[