# JsonAppender A JsonAppender allows extra content (key value pairs) to be optionally appended to the output being verified. JsonAppenders can use the current context to determine what should be appended or if anything should be appended. Register a JsonAppender: ```cs VerifierSettings.RegisterJsonAppender( context => { if (ShouldInclude(context)) { return new ToAppend("theData", "theValue"); } return null; }); ``` snippet source | anchor When when content is verified: ```cs [Fact] public Task WithJsonAppender() => Verify("TheValue"); ``` snippet source | anchor The content from RegisterJsonAppender will be included in the output: ```txt { target: TheValue, theData: theValue } ``` snippet source | anchor The name part of the JsonAppender can be inferred: ```cs [Fact] public Task WithInferredNameJsonAppenderFluent() { var name = "value"; return Verify("TheValue") .AppendValue(name); } ``` snippet source | anchor Results in: ```txt { target: TheValue, theData: theValue, name: value } ``` snippet source | anchor If the target is a stream or binary file: ```cs [Fact] public Task Stream() => Verify(IoHelpers.OpenRead("sample.txt")); ``` snippet source | anchor Then the appended content will be added to the `.verified.txt` file: ```txt { theData: theValue } ``` snippet source | anchor See [Converters](/docs/converter.md) for more information on `*.00.verified.txt` files. Examples of extensions using JsonAppenders are [Recorders in Verify.SqlServer](https://github.com/VerifyTests/Verify.SqlServer#recording) and [Recorders in Verify.EntityFramework](https://github.com/VerifyTests/Verify.EntityFramework#recording).