question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changelog for the 4.1.0 release:

  • #262 MergedYamlMapping and MergedYamlSequence useful to edit existing YAML objects;
    • also introduced the extension mechanism by making BaseYamlMapping and BaseYamlSequence public

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
balrokcommented, Mar 30, 2020

wow you are the best 👍 thank you! 😃

0reactions
amihaiemilcommented, Mar 30, 2020

@balrok FYI (you asked about editing YAML on reddit):

With version 4.1.0, you can edit both a YamlMapping and YamlSequence by using the Merged* classes. Short example (adding a key-value paid):

final YamlMapping original = Yaml
    .createYamlInput("key: value") 
    .readYamlMapping();
final YamlMapping edited = new MergedYamlMapping(
    original,
    () -> Yaml.createYamlMappingBuilder()
              .add("key2", "value2")
              .build()
);
System.out.println(edited);
key: value
key2: value2
Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes for Cisco Cyber Vision Release 4.1.0
Release 4.1.0. For users upgrading to 4.1.0 from previous versions, please carefully read the Cisco Cyber Vision 4.1.0 updateprocedure.
Read more >
Version 4.1.0 Features - Sophos Support
New Web Applications Policy and Reporting Web Applications in Default Policy The Configuration > Group Policy > Default Policy page now includes a...
Read more >
Amazon EMR release 4.1.0
Component Version Description hadoop‑hdfs‑datanode 2.6.0‑amzn‑1 HDFS node‑level service for storing blocks. hadoop‑hdfs‑library 2.6.0‑amzn‑1 HDFS command‑line client and library hadoop‑httpfs‑server 2.6.0‑amzn‑1 HTTP endpoint for HDFS operations.
Read more >
PHP 4.1.0 Release Announcement
PHP 4.1.0 Release Announcement · A new input interface for improved security (read below) · Highly improved performance in general · Revolutionary performance...
Read more >
Release 4.1.0 - GitHub
Zeek is a powerful network analysis framework that is much different from the typical IDS you may know. - Release 4.1.0 · zeek/zeek....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found