Select Page

Convert JSON to YAML Using Ruby

Purpose This article gives options for converting JSON to YAML using Ruby. Prerequisites Ruby CLI ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < file.json > file.yaml 1 ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' <...

S3 Data Consistency

Buckets in all Regions have: Read-after-write consistency for PUTS of new objects Eventual consistency for overwrite PUTS and DELETES Read-after-write consistency lets you retrieve objects immediately after creating them Eventual consistency may return old data...