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.

Privileged configurable generic derivation

See original GitHub issue

From your post https://meta.plasm.us/posts/2016/01/14/configuring-generic-derivation/

I was wondering if perhaps in a codebase, where there is a set convention (in my case snake_case over camelCase keys), it would be possible to configure that the priviledged .asJson to would always mean use SnakeCaseKeys, and do the same also for the decoding API.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
travisbrowncommented, Jan 15, 2016

I’m going to reopen this issue because I can imagine providing explicit support for this—e.g. something like:

import io.circe.generic._, io.circe.generic.config._

val deriver: ConfiguredDeriver[SnakeCaseKeys] = ConfiguredDeriver[SnakeCaseKeys]

import deriver._

I’m not 100% sure I like this, but I think it’s worth discussing.

0reactions
dwijnandcommented, Mar 16, 2016

Using a package object at the root and declaring the package as such:

package myrootpackage
package foo
Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring generic derivation - Travis Brown
There are currently four different options you can configure: The ADT discriminator: should it be an object wrapper (the default) or a field?...
Read more >
6 Variant Management - Oracle Help Center
Oracle Generic Configurator User Interface - an Oracle mask and User Interface. ... is used to derive an individually configured product, an Instance...
Read more >
Privileged User and Group Configuration Activity - TechDocs
This option subgroup section of the policy monitors for privileged user and group configuration change-based events, such as the creation of superusers and ......
Read more >
Arm Cortex-M33 Devices Generic User Guide r1p0
Name, Type, Required privilege, Reset value, Description. R0-R12, RW, Either, UNKNOWN, General-purpose registers. MSP, RW, Either, -, Stack Pointer.
Read more >
Kubernetes cluster should not allow privileged containers
Organizations establish organization-wide configuration settings and subsequently derive specific settings for information systems. The established settings ...
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