我需要用finatra在camelCase中返回一个json响应,但默认情况下它是在snake_case中。到目前为止,我发现我需要使用ObjectMapper,但是我不能理解一旦我创建了它,我应该把它传递到哪里。举个例子会很有帮助。这就是我所拥有的: import com.twitter.finagle.http.Request
class myTargetingControlle
我需要对接口或类型中的属性使用snake_case。我用来设置规则camelcase 'camelcase': ["error", {properties: "never"}], as it mentioned in docs。) a_b: number, // Identifier 'a_b' is not in camel case.eslint