YAML-PP-p5 icon indicating copy to clipboard operation
YAML-PP-p5 copied to clipboard

A YAML 1.2 processor in perl

Results 18 YAML-PP-p5 issues
Sort by recently updated
recently updated
newest added

Is it possible to add the `$token->{line}` to parser events? I can extend the parser for now to work for most cases (will give an update if I notice anything...

What about a schema which recognises TO_JSON methods the same way as the JSON modules do? That would be a useful compromise I think. Would it be hard to implement?

enhancement

I'd like to use included yaml files to keep common configuration data. For example: ``` # db.yml db : &db host : hostname port : 5432 ``` And in the...

There is a bug in perl versions below 5.14 which causes `pos` to not work correctly with tainted strings. This was fixed by https://github.com/Perl/perl5/commit/fd69380d5d5b95ef16e2521cf4251b34ee0ce151. YAML::PP reads from strings using YAML::PP::Reader,...

Hi, I found this piece of CloudFormation that YAML::PP 0.026 doesn't parse, although Cloudformation considers it valid YAML: ``` Resources: Resource1: Properties: Item: { 'accountId': { 'N': '15' }, 'username':...

question

Currently lists as values of mapping keys are not indented relative to mapping keys, so that e.g. ``````perl { foo => ['bar', 'baz'] } `````` becomes ``````yaml foo: - bar...

enhancement

The title nearly says it all. The two additional points are that I would like also keys to be single-quoted and would prefer that keys/values containing only ASCII alphanumerics and...

question

Given a node that is a sequence ``` node1: &node1 - item1 - item2 - item3 node2:

Hello! I would like to ask some information about YAML::PP and OpenAPI YAML files. OpenAPI specification is at website https://swagger.io/specification/ and says that it uses [YAML 1.2](http://www.yaml.org/spec/1.2/spec.html) format with some...

question

Currently long strings aren't wrapped. Since it's common for YAML emitters to have a maximum width, wrapping should be implemented with an option to set a width.

enhancement